Visara Master Console Center Scripting Guide Uživatelský manuál Strana 174

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 262
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 173
Chapter 5 Script Commands
Scripting Guide 174
RIGHTSTR
Syntax:
RIGHTSTR( $String, %Count) ==> $SubStr
Description:
Returns the right-most specified number of characters of a string
expression.
Action:
A substring is extracted from a string expression beginning with the
last character in the string expression.
Parameters:
$String. String expression. The character string from which to
extract characters.
%Count. Numeric expression. The number of characters to extract. If
Count is negative or zero, RIGHTSTR() returns an empty string “”. If
Count is larger than the length of String, RIGHTSTR() returns the
entire String.
Returns:
String value. The rightmost Count characters of String as a character
string.
Notes:
N/A
Example:
$Var := RIGHTSTR( $Msg, 4)
See Also:
ATSTR, FINDSTR, LEFTSTR, REPSTR, STR, SUBSTR
Zobrazit stránku 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 261 262

Komentáře k této Příručce

Žádné komentáře