Possible bug with trueWord chunks - fixed in 7.0 DP5!!
Posted: Fri May 23, 2014 2:16 pm
The trueWord chunk "after" the end of string contains the last word in the string. This is different from the corresponding word which contains an empty string.
I ran this in the message box
This is the result
I ran this in the message box
Code: Select all
put "The cat sat on the mat." into tText
put the sixth word of tText & return into tResult
put the seventh word of tText & return after tResult
put the sixth trueWord of tText & return after tResult
put the seventh trueWord of tText & return after tResult
put tResult
Code: Select all
mat.
mat
mat