>Is there a function in VFP that will work to replace a string between two delimits?
>Just as STREXTRACT() allows to extract between two delimits, to write the changed
>string back.
You can iterate so long as there are paired AT() finds, and then use STUFF() to remove that portion and stick the new portion in there.
If you are replacing with similar strings as your delimiters, you'll need to use a placeholder string without delimiters, and then do the STRTRAN() at the end to replace the placeholder with the desired string.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only