Goto main content

stripslashes

Un-quotes a quoted string

STRIPSLASHES

NAME

stripslashes - Un-quotes a quoted string with addslashes().

SYNOPSIS

stripslashes(str)

DESCRIPTION

Returns a string with backslashes stripped off. Eliminates the backslashes from the input string. 

PARAMETERS

str - The input string.

RETURN

Returns the stripped string.

EXAMPLES

in:  res=<{stripslashes('aa\\\'\\"')}>.
out: res=aa'".

SEE ALSO

{{ include("includes/strings.sn") }}

AUTHOR

Written by Pusnei Sergey and Caroline Laplante, <sergey@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.