On 20 feb 2010, at 02.44, Nathan Tuttle <[email protected]> wrote:

Thank you very much!

...says he, generously ignoring my copy/paste error.

Seriously, when will I learn not to post untested code in an email, no matter how trivial it seems at the time? Still, at least I spelled the method name correctly :-p.

--
Cheers,
Peter

2010/2/19 Peter Hugosson-Miller <[email protected]>
location := 5.
length := 3.
result := 'Foo Bar Baz' copyFrom: location to: position + length - 1



2010/2/20 Nathan Tuttle <[email protected]>
I can't find any method that allows me to take a substring out of a string my location and length.

Anyone know?

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



--
Cheers,
Peter

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to