cancel
Showing results for 
Search instead for 
Did you mean: 

How to formulate expresssion

omiaye
New Contributor II

 

Please I need some help to formulate this expression an expression. Essentially, is it possible for these three steps to be all done in one line? Thanks.

  1. trim($Clicks)
  2. trim($Clicks.replaceAll('-',''))
  3. trim(output of  step 2)
1 ACCEPTED SOLUTION

alchemiz
Contributor III

$Clicks.trim().replace(/-/g,'').trim()

View solution in original post

2 REPLIES 2

alchemiz
Contributor III

$Clicks.trim().replace(/-/g,'').trim()

omiaye
New Contributor II

Thank you @alchemiz