Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

Uppercase First (ASP)

October 17th, 2005 Posted in Programmering

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 and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Bookmarks
  • PDF
  • email
  • RSS
If you like this content, please support me and press the google adsense in the top of this post, thank you



Post a Comment