indexOf ('Dart')); // 11 print(my_string.indexOf('hello')); // -1 print(my_string.lastIndexOf('a')); // 12 You can also find out if a string is empty or not: ...
確定! 回上一頁