3165
2014-10-09 20:30:20
1
Find content in string
스트링(문자열)에서 컨텐츠 찾기
Searches the string for the first occurrence of the sequence specified by its arguments.
스트링에서 (argument에 의해 지정된) 특정 시퀀스가 처음 나타나는걸 찾는다.
When pos is specified, the search only includes characters at or after position pos,
ignoring any possible occurrences that include characters before pos.
위치를 정해줬을때, 해당 위치 이후부터 검색을 하며,
그 위치 앞쪽에 나타나는 문자를 포함하는 검색결과는 무시한다.
Notice that unlike member find_first_of, whenever more than one character is being searched for,
it is not enough that just one of these characters match, but the entire sequence must match.
"find_first_of"를 사용할 경우와는 달리, 전체 시퀀스가 일치해야만 한다.