Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chrtran problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01285118
Message ID:
01285134
Views:
17
This message has been marked as the solution to the initial question of the thread.
>I wanna change the word "dados" to "fotos"
>
>dire1 = "C:\teste1\dados\"
>
>dire2 = CHRTRAN(dire1, "dados", "fotos")
>
>= MESSAGEBOX(dire2)
>
>But the message box displays "fofos" instead of fotos
>Is there a way I can solve it ?
>
>Now I tried to treat the words as variables,
>to simulate an entire word, but is behaves the same
>
>dire1 = "C:\teste1\dados\"
>
>STORE "dados" TO dd1
>STORE "fotos" TO ff1
>
>dire2 = CHRTRAN(dire1, dd1, ff1)
>
>= MESSAGEBOX(dire2)

With STRTRAN()? :)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform