My general comment is to use the appropriate extraction function for the task.  
If
wanting to extract an attribute, value, or subvalue, then use the "<>" 
reference or
EXTRACT() function.  If working with strings then use the OCONV() or FIELD()
functions.

There are additional functions for specialized tasks but this rule should 
suffice for
your needs.

HTH,

Bill

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of 
>[EMAIL PROTECTED]
>Sent: Wednesday, November 14, 2007 2:24 PM
>To: u2-users@listserver.u2ug.org
>Subject: RE: [U2] OCONV Extraction Question
>
>Didn't work for me either. It may not fit what you need, but SWAP can make
>it work.
>
>VAR1 = 'SAM':@VM:'TRUDY'
>SWAP @VM WITH '*' IN VAR1
>FMTSTR = 'G*1'
>CRT OCONV(VAR1,FMTSTR)
>
>Brad
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to