String yourName = "Ben"; int yourNameLength = yourName.length(); // 3 // String Length is counted as 1,2,3 and not from zero. // Results "BEN" = 3, "DAVID" = 5, etc.