[Lazarus] Getting and setting the x numbered word in a sentence

Richard Mace richard.mace at gmail.com
Tue Jan 7 19:04:53 CET 2014


Hi,
Is there an existing routine in Lazarus that will get and set effectively
the x numbered word in a sentence without actually knowing what the actual
word is?
E.g with the string "the cat sat on the mat"
You could say replace word 3 with string "stood" so the result would be a
string which was " the cat stood on the mat" even though you didn't know
that the 3rd word was originally "sat"?
Hope that makes sense :)
Thanks
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140107/3cc67f99/attachment-0002.html>


More information about the Lazarus mailing list