Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
import * from dw::core::Strings
output application/json
---
"42 = 11 * 2 + 20" countCharactersBy isNumeric($)
countCharactersBy
countCharactersBy
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
Counts the number of times an expression that iterates through
each character in a string returns true.
Introduced in DataWeave version 2.4.0.