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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag