Download

Find how many times a string is used in other string

Hello eveyone!

If for example I have a string named “Text” that contains “I used blueprints. I love blueprints. Blueprints visual scrpting.”
And I want to find how many times the word “Blueprints” is used in the string “Text” and print it…

Split the string with “Blueprints” delimiter;
An array will return… then count the num/size of resulting array.

^ I don’t think the native split function returns an array?

edit: Nevermind, It’s the ParseIntoArray node.