> we constantly need to check whether a given substring is present at a > given index in a string. I don't see any other way to do that in Lua > than: > if (str:sub(i, i-1+sub:len()) == sub) then ... end Try str:find(sub,i,true)==i
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル