It looks like the following works as well.
data.variable?.starts(with: SomeString) == true
data.variable?.contains(SomeString) == true
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: