>How can I find the last word in a text string.
lcLastWord=getwordnum(lcstring, getwordcount(lcString))
If you don't have these two functions in Fox, they were included in version 7. Before that (ever since FPD2.5) they were in foxtools.fll, named wordnum() and words().