April 6, 2015
10:51 a.m.
If you have the amount auf characters you want to omit you can do 'BormParticipant' allButFirst: 4 Norbert
Am 06.04.2015 um 12:34 schrieb Peter Uhnák <i.uhnak@gmail.com>:
Hi,
am I really blind, or is there no way to do something like 'BormParticipant' removePrefix: 'Borm' "-> 'Participant'" or 'BormParticipant' copyFrom: 5 "-> 'Participant'" "OrderedCollection knows this"
I can do copyFrom:to:, but that requires asking the size of the string, which is (in my eyes) ugly.
So is there better (=single message) way?
Thanks, Peter