padEnd
indexOf
listOf
Returns the index of the first occurrence of the string, or -1.
str.indexOf(string)