Click to See Complete Forum and Search --> : Backslashe in variable


PierreB
01-07-2003, 02:55 AM
Hi, How to recover only the characters after the \ in the variable coming from the instruction :
var mec = '<!--#echo var="AUTH_USER"-->'
and which gives the result : Domaine\User
Thanks.
:confused:

PierreB
01-07-2003, 06:48 AM
Thank you Dave, but does not work if the first character following the \ forms part of the formatting characters (B, N...)
for sample : SDI100\bernard
Help.
:(