Message:
I want to calculate the number of characters excluding all whitespace (like spaces, line breaks, tabs, etc.).
However, in the Text parser > Replace module:
- If I leave the New value field empty, it returns
null
. - If I enter
""
, the result includes the quotes, so the whitespace is replaced with""
(literally, two quotation marks).
I also tried using the replace()
function in an expression, but whenever I try to pass a space " "
as a parameter, it becomes """ """
, and the function doesn’t work as expected.
Can someone please show me a reliable way to get the number of characters excluding whitespace and line breaks in Make?
Thanks in advance!