[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Clarification - string manipulation
- Subject: Re: Clarification - string manipulation
- From: Christopher Wanko <WankoC@LABS.WYETH.COM>
- Date: Wed, 6 Feb 2002 09:02:43 -0500
>>> 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