Is there something that I can use to search for object patterns in an list or array of objects instead of characters in a string?
I mean search if there is a match where you find object1 one time followed by 3 times object 2. Similar to the way we use it for strings.
Selecting each object to achar, transforming the list of objects into a string?