Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran()
Message
From
08/12/2012 14:08:27
 
 
To
08/12/2012 12:53:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Miscellaneous
Thread ID:
01559129
Message ID:
01559130
Views:
70
As to why, I suggest that you read Help! In this case you can add a space after ALI.

>Dear Experts
>
>Please check this
>
>
>	A=STRTRAN('KHALID','ALI','123 ')
>	MESSAGEBOX(A)
>
>
>it replace ALI as
>
>KH123D
>
>I do not need it, it must search word ALI as whole word as
>
>NASIR ALI
>
>In above case it must replace ALI with 123
>
>Why it is picking up word ALI from a complete string KHALID
>
>What other function should I use?
>
>Please help
Previous
Reply
Map
View

Click here to load this message in the networking platform