Silly me. didn't know it was an actual "function". I always thought "haystack" was filler variable for tutorials or examples like "myString" or "myStr" is to Java in: "string myString; myString = "hello, world!" "
I also thought that "needle" was the same so when you use a string finder function, the "haystack" is the block of text to look in and the "needle" was the key work/string/char to look for in the "haystack".
Comment