>>>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.
>>
>>Can you provide more details?
>
>I am trying to create a procedure/routine that will be used to change a "record" in an XML file. I can load xml into a cursor (using XMLTOCURSOR). Then user will have a chance to make changes to this "record" and I need to save it back to the XML. Hence I need a way to replace the old "record" with the new one.
Maybe I'm missing something but wouldn't CURSORTOXML() do it for you? I mean, create new XML with all the changes?
--sb--