Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check string not exist in array

arr_test = ["thetung1","thetung2","thetung3"]
title = "thetung"
if title not in arr_test:
	arr_test.append(title)
 
PREVIOUS NEXT
Tagged: #python #check #string #exist #array
ADD COMMENT
Topic
Name
3+1 =