[Discuss] 'C' string tokenizer for those who hate strtok
pw
p.willis at telus.net
Sat Jul 1 15:40:00 PDT 2006
taras wrote:
> On Fri, 2006-06-30 at 13:16 -0700, p.willis at telus.net wrote:
>
>>Quoting "Alan W. Irwin" <irwin at beluga.phys.uvic.ca>:
>>
>>>This continues to be a most interesting thread. Thanks, Peter, for starting
>>>it.
>>>
>>
>>I was pleasantly surprised by the mention of ocaml in the thread.
>>It's always interesting where these things go.
>>
>
>
> Please refrain from ever writing OCaml code and/or sharing it. It would
> be cruel to have newbies google for examples of OCaml code only to have
> their brains bleed out through the ears.
> Lets keep things as they are and have your C code as an example of why
> most people should not program in C :)
>
> Taras
Cheer up you old goat. :)
#load "str";;
S = module Str;;
S.str_delim (S.regexp "|") "Taras|is|a|real|nice|guy";;
Peter
More information about the Discuss
mailing list