Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 146

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag