11 Apr
2002
11 Apr
'02
7:57 a.m.
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 Koha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/koha-devel