findTokens: vs explode:

Ron Teitelbaum Ron at USMedRec.com
Fri Sep 8 18:28:52 UTC 2006


Hi all,

 

Earlier we discussed a replacement for my explode method.  findTokens: was
suggested but 

 

'        version         [0]  EXPLICIT Version DEFAULT v1,' findTokens:
'EXPLICIT'  = 

an OrderedCollection('        version         [0]  ' ' Version D' 'FAU' '
v1,')

 

but 

 

'        version         [0]  EXPLICIT Version DEFAULT v1,' explode:
'EXPLICIT' = 

an OrderedCollection('        version         [0]  ' ' Version DEFAULT v1,')

 

I can see that findTokens: removes all instances of each character.  Which
is not what I'm looking for.

 

Does anyone have any other suggestions?

 

Ron Teitelbaum 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060908/1d4ec606/attachment.htm


More information about the Squeak-dev mailing list