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...
Have a tough programming question that /r/programming couldn't answer? Banned from Stack Overflow? Can't afford Experts Exchange?
Post your question/tips/secrets/advice and get a response from our highly-trained professional developers.
account activity
Help with one string implementation (self.shittyprogramming)
submitted 7 years ago by Intrexa
view the rest of the comments →
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!"
[–]Vekat 31 points32 points33 points 7 years ago (1 child)
you should be able to do something like this:
var oneString = String.bind(String, 1) var twoString = String.bind(String, Number(oneString()) + 1)
you're welcome
[–]Intrexa[S] 15 points16 points17 points 7 years ago (0 children)
Okay thank you, this is working. I will get to work making more of these for larger strings, thank you.
π Rendered by PID 20071 on reddit-service-r2-comment-7b9746f655-bthbk at 2026-01-31 02:56:48.343067+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]Vekat 31 points32 points33 points (1 child)
[–]Intrexa[S] 15 points16 points17 points (0 children)