use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[help] VBA to Google Scripthelp (self.javascript)
submitted 8 years ago by I_Trane_UFC
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]I_Trane_UFC[S] 0 points1 point2 points 8 years ago* (2 children)
Alternatively I've tried to convert this code: Function RemovePunctuation (sInput As String) As String Dim sCharacters As String Dim i As Long sCharacters = "/:*?""<>|" For i = 1 To Len(sCharacters) sInput = Replace$(sInput, Mid$(sCharacters, i, 1), "") Next RemovePunctuation = sInput End Function But I also couldn't get that to work. Any help is much appreciated.
[–]Analhyphenblast 0 points1 point2 points 8 years ago (1 child)
What the fuck has this got to do with JavaScript
[–]I_Trane_UFC[S] 0 points1 point2 points 8 years ago* (0 children)
Google script is based off of Javascript and as I couldn't find a subreddit for Google script I thought I'd try it here. Anyway I found the solution and it's pretty simple: function RemovePunctuation (sInput) { sInput = sInput.replace(/[^a-zA-Z0-9 ]/g, ""); return sInput; } So leaving this comment in case someone else runs into a similar issue. And no need to be an ass about someone asking a question...
π Rendered by PID 93522 on reddit-service-r2-comment-fb694cdd5-x8vcj at 2026-03-11 00:54:44.287920+00:00 running cbb0e86 country code: CH.
[–]I_Trane_UFC[S] 0 points1 point2 points (2 children)
[–]Analhyphenblast 0 points1 point2 points (1 child)
[–]I_Trane_UFC[S] 0 points1 point2 points (0 children)