$list find index

Allows you to find an index containing a string in a list.


Example

Running this code will add the text "We've done everything we can to make UBot Studio as easy to learn as possible. Now it's up to you. Make an investment into yourself. Start small with a few hours of training and watch as your potential unfolds." to the list named "%List1", and show the index with the text pattern "o".

This is shown in the alert box.

add list to list(%List1,$list from text("We\'ve done everything we can to make UBot Studio as easy to learn as possible. Now it\'s up to you. Make an investment into yourself. Start small with a few hours of training and watch as your potential unfolds."," "),"Delete","Global")
alert($plugin function("Data and Files Automation.dll", "$list find index", %List1, "o", "Contains"))

Was this helpful?

Previous Article

$list find duplicate

Next Article

$list from file 2