Daily Archive: October 17, 2005

0

Uppercase First (ASP)

Here is a quick ucfirst function. First case in a word or string is going to be uppercase

function ucfirst(str)
bogstav = left(str,1)
bogstav = ucase(bogstav)
ucfirst = bogstav & right(str,1)
end function