I think lineToFind is the needle and stringToSearch is the haystack.
So you can't search for
"Something I
want to get
the line number for" in the haystack, because it can't return a single line for a multiline needle.
So you can't search for
"Something I
want to get
the line number for" in the haystack, because it can't return a single line for a multiline needle.
Statistics: Posted by SparkOut — Tue Jan 28, 2025 8:56 am