Visara Master Console Center Scripting Guide Manual de usuario Pagina 172

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 262
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 261 262

Comentarios a estos manuales

Sin comentarios