CA SDM::.SPEL::. Downcase

Document created by TMACUL Champion on Jan 25, 2017
Version 1Show Document
  • View in full screen mode

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 

2 people found this helpful

Attachments

    Outcomes