std::string::substr은 string의 원하는 곳에서 원하는 길이만큼의 문자열을 가져올 때 사용한다.사용 방법
string::find()는 원하는 문자열의 위치를 찾을 때 사용한다.사용 방법string::npos는 문자열에서 특정 문자 또는 문자열을 찾지 못한 경우 반환되는 상수로 static const size_t npos = -1이다.보통 size_t 자료형이 unsigne
숫자 타입의 데이터를 string 타입으로 변경하는 함수이다.다양한 자료형을 넣어 사용할 수 있다.stoi = string to intstof = string to floatstol = string to longstod = string to double▼ 함수 원형1)