[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] defaults for UNSTRING?
Hi John,
I was surprised to see "replace" wasn't in the index for the SQR Language
Reference guide (version 6.0). It is one of the functions listed in the
LET section (page 219).
Syntax: dst_var = replace(source_value, from_string, to_string)
You could do something like this:
encode '<9>' into $Tab
let $FromString = $Tab || $Tab
let $ToString = $Tab || ' ' || $Tab
let $Line = replace($Line,$FromString, $ToString)
Don
sqr-users-bounces+don.barclay=srs.gov@sqrug.org wrote on 10/11/2005
09:23:09 AM:
> Thanks - looks like Replace wasn't around in the SQR versions my
> documentation covers, though. I found references to it online, but
> I can't find the syntax anywhere. Can someone offer assistance?
> I'm currently using SQR for PeopleSoft 8.46, according to $sqr-ver,
> in case it matters.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users