This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vba:functions:firstvalue [18.05.2016 09:47:34] yaslaw |
vba:functions:firstvalue [07.10.2016 11:24:23] (current) yaslaw |
||
---|---|---|---|
Line 15: | Line 15: | ||
===== Beispiele ===== | ===== Beispiele ===== | ||
+ | > Für die Ausgabe der Resultate verwendete ich die Funktion [[vba:functions:print_r:index]] | ||
<code vb>d firstValue(Null, Null, new RegExp) | <code vb>d firstValue(Null, Null, new RegExp) | ||
<IRegExp2> ( | <IRegExp2> ( | ||
Line 25: | Line 26: | ||
d firstValue(Null, 0, 1, 2) | d firstValue(Null, 0, 1, 2) | ||
<Integer> 0 | <Integer> 0 | ||
+ | |||
+ | d firstValue(Null, "", "CHF", "EUR") | ||
+ | <String> 'CHF' | ||
+ | |||
+ | d firstValue(Null, "", Empty , Nothing) | ||
+ | <Empty> | ||
</code> | </code> | ||
===== Code ===== | ===== Code ===== | ||
<source '%%fpath%%/%%fname%%' vb> | <source '%%fpath%%/%%fname%%' vb> |