Adrian, Jeff and Stephen,

Using the CHANGE statement works perfectly. Thank you all.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen O'Neal
Sent: Wednesday, 9 June 2004 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] Convert Statement Not Working

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/



---
This email and any files transmitted with it are confidential to the intended 
recipient and may be privileged. If you have received this email inadvertently or you 
are not the intended recipient, you may not disseminate, distribute, copy or in any 
way rely on it. Further, you should notify the sender immediately and delete the email 
from your computer. Whilst we have taken precautions to alert us to the presence of 
computer viruses, we cannot guarantee that this email and any files transmitted with 
it are free from such viruses.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to