[erlang-questions] Re: How to remove \ from string
Björn-Egil Dahlberg
wallentin.dahlberg@REDACTED
Wed Apr 6 18:12:11 CEST 2011
1> [X || X <- "{get,\"user\",\"wilson\",\"lname\"}", X =/= $\"].
"{get,user,wilson,lname}"
// Björn-Egil
2011/4/6 Muhammad Yousaf <muhammad.yousaf@REDACTED>
> Hi,
>
> I have a string
>
> "{get,\"user\",\"wilson\",\"lname\"}"
>
> i want to remove all " \" from the above string how can i do that ??
>
> i tried re:replace but is not working any help will be appreciated
>
> thanks
>
> Regards,
>
> Muhammad Yousaf
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110406/70776662/attachment.htm>
More information about the erlang-questions
mailing list