Compare the string's length to see if it is greater than 10


#1

compare the string's length to see if it is greater than 10


#2

if (example.length > 10) { ... }

Done! It took me three days, but I finally figured out how to compare a strings length!