Extended Systems OneBridge 4.1 Betriebsanweisung Seite 171

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 222
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 170
APPENDIX A Function Reference
Users Guide 157
Parameters string pattern
A string describing a match pattern.
string text
A string to investigate.
Examples To compare values using pattern-matching:
uLike("% happy %", "A happy man.") // returns 1
uLike("% happy %", "A sad man.") // returns 0
uMatches
Description Returns true if a given string matches a regular expression.
Syntax number uMatches(input, regexpr)
Parameters
string text
A string to investigate.
string regexpr
Regular expression specification.
Examples To verify that a string can be interpreted as a floating number:
uMatches("abc","[-+]?[0-9]*\.?[0-9]*") // return 0
uMatches("1.23","[-+]?[0-9]*\.?[0-9]*") // return 1
Lookup functions
uChoice
Description Returns the Nth parameter value specified by index. The index value is zero-
based, so an index of zero returns the second parameter
Syntax string uChoice(index, values, ...)
Parameters
integer index
The index number referencing the return value. Zero based.
Seitenansicht 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 221 222

Kommentare zu diesen Handbüchern

Keine Kommentare