Skip to content

FirstPosition

FirstPosition(expression, pattern-matcher)

returns the first subexpression of expression for which pattern-matcher is matching.

FirstPosition(expression, pattern-matcher, default)

if pattern-matcher is not matching, the default value will be returned.

Examples

Implementation status

  • ✅ - full supported

Github