I have two strings, e.g. A = "apples,banana,orange" and B = "love,ignore,hate"
I want to ask which number the word "banana" is in A and fetch that substring from B (here: "ignore")
"Find" seems to give me the number of letters at which my substring begins, whereas "tokenAt" would let me fetch the entire substring, if I had its number.
Can someone help out with the correct expression?
Develop games in your browser. Powerful, performant & highly capable.
I guess the most straightforward way would be to create your own "find" method.
Like this :
Magistross oh, wow. I'm dizzy just looking at that. thanks!
I'll need a minute to comprehend what you're even doing there, all that nesting!