[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Clarification - string manipulation



>>> wyantj@YAHOO.COM 02/05 5:23 PM >>>
I've tried LET $new = translate($s,',','","'), and I get
1"3w1"3w2"3w3"5w1.

What's wrong with that?  You're inches from the solution.

LET $singlecomma = ","
LET $tickcommatick = "','"
LET $new = translate($s,$singlecomma,$tickcommatick)

Now I haven't run it yet, but play with the quoting a little (I'm rusty on the 
rules) and use a little variable substitution.

-Christopher