The many ways to Lower Case a String

September 15, 2009
misc

If you ever wondered why there are so many programming languages, look no further than the the many ways to convert a string to lower case. Almost every language has a core function to make a string lowercase, yet there seems to be pressure to come up with a distinct name for the function:

Function Name Languages
LCase() ColdFusion / CFML, ASP, Visual Basic
lower() SQL, Python
toLowerCase() Java, JavaScript, ActionScript
strtolower() PHP
tolower() ANSI C/C++
toLower() C#
downcase Ruby
lower-case() XQuery
lowercaseString Objective C / NSString
lc() Perl

Are there any other lowercase functions out there that you know of?



3 people found this page useful, what do you think?

Comments

I believe DiscoScript uses getDown() :)
Funny :) Here's a bunch more...! http://merd.sourceforge.net/pixel/language-study/syntax-across-languages/Strng.html#StrngpprLwrCasChr
@Ryan - Nice. @Jamie - thanks for the link, nice resource.
does css count? lowercase

Post a Comment




  



Spell Checker by Foundeo

Recent Entries



foundeo


did you hack my cf?