Is it possible to find certain word in two other strings?

Hello developers!

I want the script to search for a given word in the name of several models with a different name but with the same parent.

I want to find “Sensor” in Back_Sensor and Front_Sensor

can just use string.match(modelname, string) with for loop and if statements

also are you trying to find the position in the string or just if its in the name for a search to display that model?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.