Clarity Service Management

CA SDM::.SPEL::. Downcase 

01-25-2017 07:12 AM

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>

 

source:

Downcase - SDU 

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.