Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get num chars

mystr = "This is my string"
count = mystr.count(i)
# count = 3
 
PREVIOUS NEXT
Tagged: #python #num #chars
ADD COMMENT
Topic
Name
1+8 =