Javascript – AppsScript – String.replace(/s/g,"") deletes one of the characters when the string contains at least 2 % signs separated by only whitespace
I encountered this weird bug while working on an internal library for my work. We use App Script which is based on Javascript. However, there is a weird quirk with the string.replace() function that is causing problems. Managers often include…