This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vba:functions:firstvalue [31.08.2015 09:04:19] yaslaw created |
vba:functions:firstvalue [07.10.2016 11:24:23] (current) yaslaw |
||
---|---|---|---|
Line 1: | Line 1: | ||
<const> | <const> | ||
- | version=1.0.0 | + | version=1.2.0 |
- | vdate= | + | vdate= 18.05.2016 |
fname=udf_firstvalue.bas | fname=udf_firstvalue.bas | ||
ns=%NAMESPACE% | ns=%NAMESPACE% | ||
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> |