Versions des environnements
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement