U
unba1300
Guest
Is it possible to use the 'Contains' keyword with a list of words? I need to do something like the following:
Thanks.
B4X:
varRelation = "his relationship's upper body"
varRelation.Replace("relationship", varRelationship)
If varRelation.Contains("mother", "sister", "grandmother", "girlfriend") Then
varRelation.Replace("upper body", "breasts")
Else If varRelation.Contains("father", "brother", "grandfather", "boyfriend") Then
varRelation.Replace("upper body", "chest")
End If