indexof()

'Hello world!'.indexof('Hello')

const str = 'Hello world!'
str.indexof('Hello')

slice()

str.slice(a, b)

replace()

str.replace(str1, str2)

match()

str.match(정규표현식, 옵션)

trim()