Lua Foreach In A String

[Solved] Lua Foreach In A String | Lua - Code Explorer | yomemimo.com
Question : lua foreach in a string

Answered by :

for c in string.gmatch(“sentence”,”.”) do  print(c) end 

Source : https://www.quora.com/How-do-you-iterate-over-the-characters-of-a-string-in-Lua | Last Update : Sat, 05 Jun 21

Answers related to lua foreach in a string

Code Explorer Popular Question For Lua