Not exactly - but it is trivially simple to write your own using http://lazarus-ccr.sourceforge.net/docs/rtl/strutils/extractwordpos.html
Cheers, Kai Date: Tue, 7 Jan 2014 18:04:53 +0000 From: richard.m...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: [Lazarus] Getting and setting the x numbered word in a sentence 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 -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus