pf » The many ways to Lower Case a String
September 15, 2009
The many ways to Lower Case a String
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?
Trackback Address: 713/4B3C489B1C19896024893A9DA8B9A9C7
Comments
On 09/15/2009 at 4:32:14 PM EDT Ryan wrote:
1
I believe DiscoScript uses getDown() :)
On 09/15/2009 at 7: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 7:29:58 AM EDT Pete Freitag wrote:
3
@Ryan - Nice.
@Jamie - thanks for the link, nice resource.
On 09/19/2009 at 5:56:20 PM EDT Anonymous wrote:
4
does css count? lowercase
- J2EE Session Cookies on ColdFusion / JRun
- Hands on ColdFusion Security Training
- ColdFusion 9 Solr Vulnerability - Are you at Risk?
- FCKEditor Year 2010 Bug for Firefox 3.6
- jQuery UI Sortable Tutorial
- CFLogin Security Considerations
- Use varchar(max) instead of text in SQL Server
- ColdFusion SOAP Web Services and onRequestStart
Subscribe to my RSS Feed:
RSS
RSS

add to del.icio.us
Pete Freitag is a software engineer, and web developer located in











