str.lenth
'hello world' .lenth
str.toUpperCase()
'hello world'.toUpperCase()
HELLO WORLD
str.indexOf('찾는 내용')
찾는 내용의 위치
'hello world'.indexOf('o') -> 4 -> 01234... 4번째에 위치한다.
'hello world'.indexOf('o')
'hello world'.indexOf('world') -> 6 -> 01234... 6번째에 위치한다.
'hello world'.indexOf('world')
없으면 -1
-1