Downcase
From SDU
Revision as of 13:36, 16 May 2011 by Kowy (Talk | contribs) (New page: __NOTOC__ Category:Customizations Category:r6 Category:r11 Category:r12 Category:Spell Code {{Global Header}} {{Global Announcement}} == Overview == Spell function con...)
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Overview
Spell function converting string to a lowercase (coverts all characters in string to lowercase)
Usage
<source lang="javascript"> string downcase(string attr); </source>
- attr - any string
Results
Returns converted string.
Examples
<source lang="javascript"> if(downcase(option_value) == "yes" ) {
option_value="Yes";
} else if (downcase(option_value) == "no") {
option_value="No";
} </source>