
The String Tokenizer Module in Yahoo Pipes will split a string into multiple strings using a delimiter (often a single character). For example, if this is your string:
Mariners, Yankees, Blue Jays, Nationals
And the delimiter is set to a comma (“,”) it will produce 4 separate strings like this:
- Mariners
- Yankees
- Blue Jays
- Nationals
This module would be useful if you had the user input several search terms separated by commas and wanted to return an array of search results. For example, if your Yahoo Pipe was set up to search MLB headlines from ESPN, you could have the user input their favorite teams, then have the String Tokenizer split up the search terms and provide separate news results for each team.
In this example, we’re going to make the user search for casino games using the Text Input Module and we will instruct them to separate each keyword by a comma. (this will allow us to take the search query and split it up by keyword using the String Tokenizer Module).

Now we can wire the Text Input Module into the String Tokenizer and set the Delimiter as a comma (“,”) to split up the search terms into different items for further processing.
And here’s how it looks in our Debugger pane with the content drilled down:


Recent Comments