Here are a few simple examples you can pass along.
select line 3 of fld "MyField"
put lineOffset("Smith", fld "MyField") into tLine
if tLine > 0 then
select line tLine of fld "MyField"
end if
put "Smith" into ss1
put lineOffset(ss1, fld "MyField") into tLine
if tLine > 0 then
select line tLine of fld "MyField"
end if
select word 2 of fld "MyField"
select char 1 to 10 of fld "MyField"
These can affect whether selection works as expected:
set the lockText of fld "MyField" to true (list field)
lockText = true → user cannot edit textset the dontWrap of fld "MyField" to true
set the autoSelect of fld "MyField" to true
set the multipleLines of fld "MyField" to true
lineOffset or wordOffset (0 = not found)select