You can use String.indexOf combined with String.substring : void main() { const str = "the quick brown fox jumps over the lazy dog"; ...
確定! 回上一頁