Reece
615bcb53b9
Publish a collection of boilerplate and an additional json parser. This meta build chain as-is should replace a lot of the premake5.lua in the AuroraEngine repo
8 lines
217 B
Lua
8 lines
217 B
Lua
function string.starts(input, suffix)
|
|
return suffix == "" or string.sub(input, 1, string.len(suffix)) == suffix
|
|
end
|
|
|
|
function string.ends(input, ending)
|
|
return ending == "" or input:sub(-#ending) == ending
|
|
end
|