Visara Master Console Center Scripting Guide Manuel d'utilisateur Page 146

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 262
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 145
Chapter 5 Script Commands
Scripting Guide 146
LOWER
Syntax:
LOWER( $String) ==> $Lowercase
Description:
Converts uppercase characters to lowercase.
Action:
The uppercase characters of an evaluated string expression are converted
to lowercase characters.
Parameters:
$String. String expression. The character string to convert to lowercase.
Returns:
String value. A copy of the evaluated string expression with all alphabetic
characters in lowercase. All of the other characters remain the same as in
the original expression.
Notes:
1. The original string expression is not changed.
2. Only the alphabetic characters are converted; numerics and special
characters are not changed.
Example:
$Original := “ThIS iS HaRd tO REaD”
$LowerCaseText := LOWER( $Original)
// $LowerCaseText will contain the string ‘this is hard to
read’
$Text := LOWER( $Text)
IF LOWER( $Name) == “fred”
//Commands here will be processed if $Name is equal to
//any of the following: ‘Fred’ ‘FRED’ ‘FrEd’ etc.
ENDIF
See Also:
UPPER
Vue de la page 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 261 262

Commentaires sur ces manuels

Pas de commentaire