splits a string into a vector of substrings
splits a string into a vector of substrings. This version is more efficient than split() because it does not copy the strings itself. Instead, it uses substrings, which are pointers into the original string and length counts. The substring.h file contains the useful information about what a substring is, and what you can do with one. Clearly, this was influenced by perl.
generated by doc++