1 | let str = 'summertzzisagoodgirl'; |
charAt
1 | /* |
substr / substring / slice
1 | /* |
indexOf / lastIndexof / includes
1 | /* |
toUpperCase / toLowerCase
1 | /* |
split
1 | /* |
replace
1 | /* |
做一些有趣的事儿
1 | let str = 'summertzzisagoodgirl'; |
charAt
1 | /* |
substr / substring / slice
1 | /* |
indexOf / lastIndexof / includes
1 | /* |
toUpperCase / toLowerCase
1 | /* |
split
1 | /* |
replace
1 | /* |