Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search for number in a string
Message
 
 
To
17/08/2011 08:24:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01521152
Message ID:
01521167
Views:
53
>Hi Victor.
>
>>If STR(Times.WordUsed) $ Caught2
>
>No, because STR() without specifying a length pads the value with spaces to a length of 10, so 123 becomes "123 ". Sergey's suggestion to use TRANSFORM() works better because it doesn't pad the value.
>

STR() pads result but with leading spaces
 "       123"
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform