Extended Systems OneBridge 4.1 Guida Utente Pagina 197

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 196
APPENDIX A Function Reference
Users Guide 183
Syntax string uRepeat(input, repeats)
Parameters
string input
The string to be repeated.
number repeats
The number of times to repeat the input string.
Examples To repeat a string multiple times:
uRepeat("Hello ", 4) // returns "Hello Hello Hello
Hello "
uReplace
Description Replaces parts of a string.
Syntax string uReplace(input, search, replace)
Parameters
string input
The string to worked on.
string search
The pattern to be searched.
string replace
The string that will replace any match.
Examples To search and replace patterns of a string:
uReplace("At four o' clock he became four", "four", "4")
// returns "At 4 o' clock he became 4"
uReverse
Description Reverses a string.
Syntax string uReverse(input)
Parameters
string input
The string to reverse.
Examples To search and replace patterns of a string:
uReverse("Smith”) // returns "htimS”
Vedere la pagina 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 221 222

Commenti su questo manuale

Nessun commento