September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
6
Task/String-length/Zkl/string-length-3.zkl
Normal file
6
Task/String-length/Zkl/string-length-3.zkl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
"abc".len(8) //-->3
|
||||
"\ufeff\u00A2 \u20ac".len(8) //-->4 "BOM¢ €"
|
||||
"\U1000;".len(8) //-->Exception thrown: ValueError(Invalid UTF-8 string)
|
||||
"\uD800" //-->SyntaxError : Line 2: Bad Unicode constant (\uD800-\uDFFF)
|
||||
"J\u0332o\u0332s\u0332e\u0301\u0332".len(8) //-->9 "J̲o̲s̲é̲"
|
||||
"\U1D518;\U1D52B;\U1D526;\U1D520;\U1D52C;\U1D521;\U1D522;".len(8) //-->7 "𝔘𝔫𝔦𝔠𝔬𝔡𝔢"
|
||||
Loading…
Add table
Add a link
Reference in a new issue