koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] What is "uc"


From: Pat Eyler
Subject: Re: [Koha-devel] What is "uc"
Date: Thu Apr 11 05:57:20 2002

On Thu, 11 Apr 2002, paul POULAIN wrote:

> Roger Buck wrote:
>
> >I note in a few modules (Search.pm, Security.pm and maybe others), the
> >use of the string "uc" - for example "$password = uc $password".
> >
> >What does the "uc" do?
> >
> Upper Case

Actually, that should be UPPER CASE, ucfirst does Upper case.

That is uc($string) returns $string converted to uppercase characters,
ucfirst($string) returns $string with the first character converted to
uppercase characters.

Just for completeness there also exist both lc and lcfirst.


-pate

> --
> Paul
>
>
>
> _______________________________________________
> Koha-devel mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/koha-devel
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]