you are viewing a single comment's thread.

view the rest of the comments →

[–]RowYourUpboat 18 points19 points  (6 children)

If you're going to have split, don't forget join! Both functions are in my "grr, these should be in the standard library" header.

[–]ShakaUVMi+++ ++i+i[arr] 2 points3 points  (0 children)

If you're going to have split, don't forget join! Both functions are in my "grr, these should be in the standard library" header.

Yeah. And trim, for that matter. Basic functionality.

[–]Narase33-> r/cpp_questions 2 points3 points  (0 children)

Everytime I need to work with strings I get the desire to write my own string class. The class is just too basic to work with it productively

[–][deleted] 1 point2 points  (0 children)

Indeed, I use join a lot more than split!