<p dir="ltr">Hi,<br>
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?<br>
E.g with the string "the cat sat on the mat"<br>
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"? <br>

Hope that makes sense :)<br>
Thanks<br>
Richard<br>
</p>