|
@@ -142,7 +142,7 @@ module.exports = {
|
|
|
leftTrim: function(str) {
|
|
|
return str.replace(/(^\s*)/g,"");
|
|
|
},
|
|
|
- rightTrim: function(rst) {
|
|
|
+ rightTrim: function(str) {
|
|
|
return str.replace(/(\s*$)/g,"");
|
|
|
},
|
|
|
replaceAll: function (targetStr, FindText, RepText) {
|