0
What is the alternative function of "indexof()" in C++???
String is an array of character right? So I'm wondering if you can also get the index of it with some functions like in java
1 ответ
+ 2
you can use "find()" for strings which does exactly the same job
for more info visit👇
https://www.geeksforgeeks.org/string-find-in-cpp/