nim-by-example
nim-by-example copied to clipboard
Expand on strings
- Mention value semantics
- Go over slicing vs substr
- Explain using unicode module
- Mention internal representation (length prefixed with null terminator for literals)
http://nim-by-example.github.io/strings/ also has issues: Proc Strings: raw strings, but the method name that prefixes the string is called [unfinished sentence] echo r" "" " should output ' " ' but the output shown is ' "' should show difference between: echo re "\b[a-z]++\b" echo re"\b[a-z]++\b"
- [x] Mention value semantics
- [ ] Go over slicing vs substr
- [ ] Explain using unicode module
- [x] Mention internal representation (length prefixed with null terminator for literals)
@timotheecour Done, thank you for pointing those errors out, they're a little embarrassing.