| 69 | // split_lines(false, "Hi,\nhow are you?") == ["Hi,", "How are you"] |
| 70 | template <typename String, typename ContainerOut = std::vector<String>> |
| 71 | ContainerOut split_lines(bool allowEmpty, const String& str) |
| 72 | { |
| 73 | return split_by(is_line_break<String>, allowEmpty, clean_newlines(str)); |
| 74 | } |
| 75 | |
| 76 | // API search type: trim_whitespace_left : String -> String |
| 77 | // fwd bind count: 0 |