AlgoMaster Logo

Find the Index of the First Occurrence in a String

haystack=sadbutsad,needle=sad
0 / 6
algomaster.io
Step:Start: find "sad" in "sadbutsad"