How do you get the length of a string stored in a variable str?
str.length
str.size()
str.length()
str.getSize()