我需要从各种字符串的末尾切掉 .ogg
例如
v = bdorian.ogg h = {} h[1] = v
我怎样才能从字符串 v 的末尾截掉“.ogg”?
(快速谷歌搜索没有任何帮助)
string lua
lua ×1
string ×1