Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StrTran() in 7 and 8beta
Message
From
18/11/2002 14:20:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
StrTran() in 7 and 8beta
Miscellaneous
Thread ID:
00723978
Message ID:
00723978
Views:
37
How am I misreading the help file?
lcString = 'abracadabra'
? StrTran(lcString, 'A', 'x', 1, 500, 3)
xbrxcxdxbrx
A Flag parameter of 3 is supposed to mean -

1. Case insensitive search - this seems to work properly
2. Change the case of the replacement parameter ('x') to agree with the case of the search parameter ('A').

Shouldn't it be returning XbfXcXdXbfX?

Alan
Next
Reply
Map
View

Click here to load this message in the networking platform