Search found 2 matches

by Frightening man
Mon Oct 26, 2020 1:24 am
Forum: Support and Development
Topic: Using a string with variables such as string = "5a+9b"
Replies: 3
Views: 4717

Re: Using a string with variables such as string = "5a+9b"

Thank you both, loadstring did the trick.
by Frightening man
Fri Oct 23, 2020 2:34 am
Forum: Support and Development
Topic: Using a string with variables such as string = "5a+9b"
Replies: 3
Views: 4717

Using a string with variables such as string = "5a+9b"

I cant seem to find a way to convert a string including -numbers -mathematical symbols (such as '+') -variables. Is there any way to do this? To be clear, I want something like local a = 2 MyString = "5a+10" local b = MyString+5 --b=25 to work. First post, very noob. Thanks for your help!