string comparisons

is there a way to make string comparison checks on storage? With execute you can only check whether a storage path has been written to or not but ya can't check for a specific string value. I might want to check whether a string is included in a list. Is that even possible? I first thought it would be possible with data merge but merge only works on objects
Continue to help post