trimCaracter ( string txt , string caracterToTrim ) : string
Remove some caracters at the left and the right of a string
Example
console(trimCaracter("+hello World+", "+")) //-> hello World
Parameters
Remove some caracters at the left and the right of a string
console(trimCaracter("+hello World+", "+")) //-> hello World