For more information... RTFM!
NAVIGATION
RECENTLY VIEWED
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

lcfirst

Convert the first character of the given text to lower-case.  All other characters remain unchanged.

Also see the ucfirst and lc filters.

Availability

Availability

This filter was introduced in version 5.5.0, and is therefore not available for use with any earlier Interchange version.

Example

[filter lcfirst]Kevin[/filter]

Results in:

kevin

Source code

sub {
    use locale;
    if ($Scratch->{mv_locale}) {
        POSIX::setlocale(LC_CTYPE, $Scratch->{mv_locale});
    }
    return lcfirst(shift);
}

Category:  Filters
Last modified by: Kevin Walsh
Modification date: Friday 13 July 2007 at 5:48 AM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us