Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rat() not working
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Rat() not working
Miscellaneous
Thread ID:
00411394
Message ID:
00411394
Views:
31
I have a string which contains spaces. I a trying to locate the last space in the string. however rat() seems to deliver a zero.

cstr = "Mary Hellen Bell"

result = rat('',alltrim(cstr)) result = 0

shouldn't rat() return a 12. What gives?


Thanks Nick
Next
Reply
Map
View

Click here to load this message in the networking platform