Extended Systems OneBridge 4.1 Guía de usuario Pagina 197

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 222
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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”
Vista de pagina 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 221 222

Comentarios a estos manuales

Sin comentarios