Logo

Programming-Idioms

History of Idiom 169 > diff from v10 to v11

Edit summary for version 11 by programming-idioms.org:
Admin deletes impl 2216

Version 10

2018-01-26, 13:28:08

Version 11

2018-01-27, 12:34:28

Idiom #169 String length

Assign to integer n the number of characters of string s.

This can be different from the number of bytes of s.

Idiom #169 String length

Assign to integer n the number of characters of string s.

This can be different from the number of bytes of s.

Extra Keywords
size
Extra Keywords
size
Code
n = len(s)