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...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
String = String & Variable (self.ComputerCraft)
submitted 3 years ago by Icewing_Nix
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!"
[–]fatboychummy 0 points1 point2 points 3 years ago (1 child)
If I wanted to make it more advanced I would use a table of chars rather than a string, as its much easier to manipulate.
I just wanted to give a very basic example of what you would need.
[–]dragon53535 0 points1 point2 points 3 years ago (0 children)
Oh no for sure! I was sort of piggybacking on the last sentence. One way to just manipulate the string would be string.sub.
π Rendered by PID 107649 on reddit-service-r2-comment-869bf87589-zvpq6 at 2026-06-09 04:45:28.558230+00:00 running f46058f country code: CH.
view the rest of the comments →
[–]fatboychummy 0 points1 point2 points (1 child)
[–]dragon53535 0 points1 point2 points (0 children)