String Methods
length, substring, split, replaceAll, trim, toUpperCase, contains and padLeft.
Example
var s = " Hello, Dart ".trim();
print(s.length);
print(s.toUpperCase());
print(s.substring(7));
print(s.split(", "));
print(s.replaceAll("l", "L"));
print("7".padLeft(3, "0"));Exercise
Split text.
s.(",")
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.