Startswith Function In Lua

[Solved] Startswith Function In Lua | Shell - Code Explorer | yomemimo.com
Question : Startswith function in lua

Answered by : purple-team

function msgtartswith(String1, String2)	local Count = #String1	local FirstChars = string.sub(String2, 1, Count)	return FirstChars == String1
end

Source : | Last Update : Sat, 09 Jul 22

Answers related to startswith function in lua

Code Explorer Popular Question For Shell