Blogger 이사

[JavaScript] String Object Methods

한갭 2016. 1. 14. 16:26

concat()
- Joins two or more strings, and returns a copy of the joined strings

indexOf()
- Returns the position of the first found occurrence of a specified value in a string

replace()
- Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced

split()
- Splits a string into an array of substrings

substring()
- Extracts the characters from a string, between two specified indices

trim()
- Removes whitespace from both ends of a string



- Javascript String Method

- Javascript String Function

- Javascript 스트링 메소드


http://hangaebal.blogspot.kr/2014/06/javascript-string-object-methods.html
http://www.w3schools.com/jsref/jsref_obj_string.asp
http://icoon22.tistory.com/219