Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

count how many characters in the same position are eqial in both strings

sum(1 if c1 == c2 else 0 for c1, c2 in zip(string1, string2))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #characters #position #eqial #strings
ADD COMMENT
Topic
Name
4+1 =