16 feb 2011

XPath 2.0 string indexof

translate(substring($s,
1,
index-of(string-to-codepoints($s),
string-to-codepoints('_')
)[last()] -1
),
'_',
''
)

1 comentario: