Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Contains Substring


single = "a"
many = "aaaaaaaa"
print(single in many)
#True since a is in aaaaaaaa
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Contains #Substring
ADD COMMENT
Topic
Name
2+1 =