Helper for getting the substrings #5

Closed
kizu opened this Issue Mar 24, 2013 · 0 comments

1 participant

@kizu
Owner

We could find a substring with the given index and length in any string using truncate and remove.

  1. Truncate the string to the index.
  2. Remove the result from the original string.
  3. Truncate the new result to the length.
@kizu kizu closed this in c449e5e Mar 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment