[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Rép. : Is there a replace command or equivilent in SQR
see translate function in help:
let $translated = translate( edit(&price,'999,999.99'), ',.', '.,')
this exemple replace all occurrence of ',' by '.' and '.' by ','
in one pass.
Cordialement, Philippe.
>>> John McNall <jmcnall@TGTSOLUTIONS.COM> 06/03/01 16h08 >>>
Hello all,
It seams to me that I recall a command in SQR that will read a string,
looking for a designated character and allow you to replace it.
For example when you receive data from an HTML form spaces are replaced by a
'+'
Thus you may end up with "I+am+wanting+to+replace+the+plus+signs"
Does anyone know of such a command or am I once again wishful thinking?
Thanks in advance.
John