SpiceQA
Questions Tags Users Badges

Is there any function in C++ std::string that count total number of same starting characters of two strings or any best way to do

user_6888972 0
Created May 13, 2017 Edited May 13, 2017
Viewed 396

Eg.

abcfgf
abdef

ans=2 {"ab" is a common starting character}

count function stl c++ string
Share
2 Answers
Related
Terms of service Privacy policy
Powered by Answer