Re: string functions and manipulations in php hi,
As like addcslashes to add specific escape sequence in string there is another function which do vice versa and remove those in any string. That function is called stripcslashes.
It returns a string with backslashes stripped off. Recognizes C-like \n, \r ..., octal and hexadecimal representation. <?php
echo stripcslashes("Hello, \my na\me is Kai Ji\m.");
?> The output of the code above will be:
Hello, my name is Kai Jim.
Thanks
__________________ K K Venkata Charya Success is easy to get but difficult to retain |