Visara Master Console Center Scripting Guide Manual do Utilizador Página 174

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 262
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 261 262

Comentários a estes Manuais

Sem comentários