Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace character expression
Message
From
09/07/2010 12:53:36
 
 
To
08/07/2010 11:28:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01471799
Message ID:
01472027
Views:
43
>Try the following:
>
>oRegEx = NEWOBJECT("VBScript.RegExp")
>oRegEx.Pattern = "\[(\d)\]"
>cFile = oRegEx.Replace(cFile, "[0$1]")
>
thanks rob - no effect i'm afraid but i'm wondering if this is addressing the change i am looking for (I am trying to understand your replace code "[0$1]" and have modified it a couple of times without success.

basically the text looks something like this

asdfghjkl [1]

and i want it to look like this

asdfghjkl [01]


thanks
k
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform