Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

using-len-for-text-but-discarding-spaces-in-the-count

>>> full_name = "John DOE"
>>> len(full_name) - full_name.count(' ')
7
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+4 =