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

2014-01-08 Thread John Landmesser
On 07.01.2014 19:04, Richard Mace wrote: 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 "sto

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

2014-01-07 Thread Howard Page-Clark
On 07/01/2014 18:04, Richard Mace wrote: 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" If word delimiters are consistently all the sam

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

2014-01-07 Thread K. P.
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

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

2014-01-07 Thread Richard Mace
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 "