string_methods.out 995 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # ANCHOR: basename
  2. filename.ext
  3. # ANCHOR_END: basename
  4. # ANCHOR: extension
  5. ext
  6. # ANCHOR_END: extension
  7. # ANCHOR: filename
  8. filename
  9. # ANCHOR_END: filename
  10. # ANCHOR: join
  11. 1 2 3 4 5
  12. 1, 2, 3, 4, 5
  13. # ANCHOR_END: join
  14. # ANCHOR: find
  15. 2
  16. -1
  17. # ANCHOR_END: find
  18. # ANCHOR: len
  19. 6
  20. 1
  21. 4
  22. # ANCHOR_END: len
  23. # ANCHOR: len_bytes
  24. 6
  25. 6
  26. # ANCHOR_END: len_bytes
  27. # ANCHOR: parent
  28. /root/parent
  29. # ANCHOR_END: parent
  30. # ANCHOR: repeat
  31. abc, abc, abc,
  32. # ANCHOR_END: repeat
  33. # ANCHOR: replace
  34. 1 two 1 two
  35. 1 2 1 2
  36. # ANCHOR_END: replace
  37. # ANCHOR: replacen
  38. three two one two
  39. one three one three
  40. # ANCHOR_END: replacen
  41. # ANCHOR: regex_replace
  42. Bob
  43. boB
  44. # ANCHOR_END: regex_replace
  45. # ANCHOR: reverse
  46. raboof
  47. # ANCHOR_END: reverse
  48. # ANCHOR: to_lowercase
  49. foobar
  50. # ANCHOR_END: to_lowercase
  51. # ANCHOR: to_uppercase
  52. FOOBAR
  53. # ANCHOR_END: to_uppercase
  54. # ANCHOR: escape
  55. Mary had\\ta little \\n\\t lamb\\t
  56. # ANCHOR_END: escape
  57. # ANCHOR: unescape
  58. Mary had a little
  59. lamb
  60. # ANCHOR_END: unescape
  61. # ANCHOR: or
  62. Fallback
  63. 42
  64. # ANCHOR_END: or