Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing characters from a value in a field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00833803
Message ID:
00833831
Views:
25
aditional to what Sergey said
*:Diferent because CHRTRAN look for the chars even if they ain't together
CHRTRAN(CHRTRAN(myfield, "-G", ""), "-B", "")

*Or
RIGHT(myfield, LEN(alltrim(myfield))-2) &&This will work only if the -X is always at the end
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform