Il 16/10/2012 23:18, Holger Hans Peter Freyther ha scritto:
>> > Is there a good way to do this without funny looping character by
>> > character? I'll probably do that initially but thought I'd ask from
>> > you that probably know better than I do..
> might still be funny looping but you could be using PetitParser (i
> have a version of it on gitorious).

That's slightly heavy artillery. :)

Gwen has just beaten me to the answer, the method you want is #startsWith:.

Remember to look for methods in CharacterArray, not just String.

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to