Talk:Tokenize a string: Difference between revisions

Content added Content deleted
No edit summary
m (→‎incorrect examples: added new section: incorrect examples. -- ~~~~)
 
Line 23: Line 23:
==Unix Pipes and the shell==
==Unix Pipes and the shell==
You need to mention which shell is being used in the example. (It doesn't look like csh for example). --[[User:Paddy3118|Paddy3118]] 19:57, 20 May 2009 (UTC)
You need to mention which shell is being used in the example. (It doesn't look like csh for example). --[[User:Paddy3118|Paddy3118]] 19:57, 20 May 2009 (UTC)

==incorrect examples==

I noticed quite a few programming examples that failed to meet the two requirements:

:::* output the words separated by a period.
:::* parse the words into an array (or list).

Some of the examples merely treated the input as a string and changed the
comma to a period, bypassing the words-into-a-array-or-list requirement.

There were numerous examples, too many to start flagging as I may be misinterpreting what a "list" is. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:42, 7 December 2013 (UTC)