So accidentally I have used string.sub instead of string.split. Line 69 is local StringData = string.sub(v,“-”) In the output window only the line 67 print appeared but the line 70 print did not. There were no errors in the output
Expected behavior
I expect the error to appear in the output when string.sub is wrongly used.
Your code is erroring (why its not printing on line 70), is it in a pcall/xpcall by any chance, since the whole point of these is to silence errors.
also I believe what you want to do is to split a string into multiple components from a seperator, use string.split for this.
string.split
Yeah I realized the issue, It works now
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.