Tiny string utils fix

This commit is contained in:
YourFriendlyNeighborhoodDealer 2019-03-23 09:15:39 +01:00
parent 8ad9ee91b1
commit 9db2d16dba

View file

@ -65,7 +65,7 @@ class StringUtils {
assert(val); assert(val);
assert(char); assert(char);
toremove = this.NormalizeSpaces(val); var toremove = this.NormalizeSpaces(val);
var regex = new RegExp(char, "g"); var regex = new RegExp(char, "g");
toremove.replace(regex, " "); toremove.replace(regex, " ");