Re: Replace characters and count

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Replace-characters-and-count-tp4665123p4665124.html

Hi Daniel,

Assuming you're using this expression for validation, or something of that
sort that can refer to the current context, the following should do the
trick:

    string-length(translate(., ', ', ''))

You'll let me know if this works for you,

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1585257929361-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet