lcfirst

Returns lc value of the string's first character.

LCFIRST

NAME

lcfirst - Returns the lowercase value of a string’s first character.

SYNOPSIS

lcfirst(string)

DESCRIPTION

This function returns the lowercase value of the first character of a string.

This doesn’t affect numbers or special characters.

PARAMETERS

string
The input string.

RETURN

string
Returns the resulting string.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

in:  res={_{lcfirst("ONE SAMPLE")}}.
out: res=oNE SAMPLE.

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.