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

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter

You may also like...

Leave a Reply

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