Hans Wrote:
<snip>
I'm writing a basic routine to generate XML files and running into a
problem. The following CONVERT statement does work,

CONVERT "&" TO "&amp;" IN LINE

Does anyone know what's happening here.
<snip>

The CONVERT statement does a character for character replacement in the
string.

The first character in the "&" is replaced with the first character of the
string "&amp;".

So (humorously) your example you replaced the "&" with another "&".   And
yes, many of us have done this before too!    ;^)

If you wish to change whole words, then use CHANGE.

The BASIC manual can be downloaded in .PDF format from the U2 support site.

FYI,
   Steve

   Stephen M. O'Neal, CDP
   IBM Data Management Solutions
   U2 Professional Services, Special Projects
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to