Thread
:
Shared functions pack
View Single Post
#
27
07-18-2009, 08:20 PM
fowlplay4
team canada
Join Date: Jul 2004
Location: Canada
Posts: 5,200
Couldn't hurt..
PHP Code:
function
capitalize
(
str
) {
return
str
.
charat
(
0
).
upper
() @
str
.
substring
(
1
);
}
__________________
Quote:
fowlplay4
View Public Profile
View GraalOnline Profile
Visit fowlplay4's homepage!
Find all posts by fowlplay4