I have two strings which I\'d like to compare: String and String:. Is there a library function that would return true when passed these two strings
String
String:
std::string(X).find(Y) is zero if and only if Y is a prefix of X
std::string(X).find(Y)
Y
X