Strings

  1. Single quoted and double quoted strings
  2. Long lines
  3. Triple quoted strings (multiline)
  4. String length (len)
  5. String repetition and concatenation
  6. A character in a string
  7. String slice (instead of substr)
  8. Change a string
  9. How to change a string
  10. String copy
  11. String functions and methods (len, upper, lower)
  12. index in string
  13. index in string with range
  14. rindex in string with range
  15. find in string
  16. Find all in the string
  17. in string
  18. index if in string
  19. Encodings: ASCII, Windows-1255, Unicode
  20. raw strings
  21. ord
  22. ord in a file
  23. chr - number to character
  24. Exercise: one string in another string
  25. Exercise: to ASCII CLI
  26. Exercise: from ASCII CLI
  27. Solution: one string in another string
  28. Solution: compare strings
  29. Solution: to ASCII CLI
  30. Solution: from ASCII CLI