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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 262
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 171
Chapter 5 Script Commands
Scripting Guide 172
REPSTR
Syntax:
REPSTR( $String, %Count) ==> $RepeatedString
Description:
Returns a string repeated a specified number of times.
Action:
The String expression is repeated the number of times specified by
“Count”, and is returned as a one-character string.
Parameters:
$String. String expression. The character string to repeat.
%Count. Numeric expression. The number of times to repeat String.
Returns:
String value. The String repeated the number of times specified by
“Count”.
Notes:
N/A
Example:
$Str := REPSTR( “*”, 5) //RESULT: “*****”
$Str := REPSTR( “Hi”, 3) //RESULT: “HiHiHi”
$Str := REPSTR( “Hi ”, 3) //RESULT: “Hi Hi Hi ”
See Also:
ATSTR, FINDSTR, LEFTSTR, RIGHTSTR, STR, SUBSTR
Vista de página 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 261 262

Comentários a estes Manuais

Sem comentários