DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
How do I check if a string contains another string in Swift
let string = "hello Swift" if string.contains("Swift") { print("exists") }
PREVIOUS
NEXT
Tagged:
#How
#I
#check
#string
#string
#Swift
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit