Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

PRD Open formula Substitute more than one character

$
0
0
Hi everyone
In one of my report I have text without space. Instead of space they have _ or -
So i'm using the function SUBTITUTE to replace it
Code:

=SUBSTITUTE([nom_Projet]; "_" ;" ")
With this I only replace _
So the question is, can I substitute with a single function the two characters?


The other solution that I found is kind of dirty (in my opinion): I do it with two functions. The first function replace the "_" and the second function use the text of the first one and remove "-"

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>