StringiFor icon indicating copy to clipboard operation
StringiFor copied to clipboard

Implement new string methods

Open szaghi opened this issue 8 years ago • 0 comments

desiderata new methods

Python-str-like methods

  • [x] UPPER/lower case transformation
  • [x] capitalize
  • [x] end_with suffix check
  • [x] start_with prefix check
  • [x] is_digit
  • [x] is_upper/is_lower
  • [x] partition
  • [x] replace
  • [x] split
  • [x] strip
  • [x] swapcase

Assignments

  • [x] from string
  • [x] from characters
  • [x] from integer (any kinds)
  • [x] from real (any kinds)

Miscellanea

LeetCode methods

References

[1] John Burkardt's collection.

[1a] chrpak [1b] stripper

[2] ISO_VARYING_STRING and recent variation of it by Ian Harvy.

szaghi avatar May 04 '16 22:05 szaghi