The many ways to Lower Case a String
September 15, 2009
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?
Tweet
Trackbacks
Trackback Address: 713/4B3C489B1C19896024893A9DA8B9A9C7
Comments
On 09/15/2009 at 6:32:14 PM EDT Ryan wrote:
1
I believe DiscoScript uses getDown() :)
On 09/15/2009 at 9:19:32 PM EDT Jamie Krug wrote:
2
Funny :) Here's a bunch more...!
http://merd.sourceforge.net/pixel/language-study/syntax-across-languages/Strng.html#StrngpprLwrCasChr
On 09/16/2009 at 9:29:58 AM EDT Pete Freitag wrote:
3
@Ryan - Nice.
@Jamie - thanks for the link, nice resource.
On 09/19/2009 at 7:56:20 PM EDT Anonymous wrote:
4
does css count? lowercase
Post a Comment
Recent Entries
- Writing Secure CFML cfObjective 2013 Slides
- Upgrading to Java 7 on Linux
- J2EE Sessions in CF10 Uses Secure Cookies
- Learn about ColdFusion Security at cfObjective 2013
- Session Loss and Session Fixation in ColdFusion
- FuseGuard 2.3 Released
- CKEditor Spell Checker Plugin
- Adobe Says Go Ahead and Upgrade your ColdFusion JVM


add to del.icio.us


