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

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *