![]() |
UtilsLite
Utilities for C++ programming
|
A collection of utility functions and classes. More...
Classes | |
class | Utils::Tokenizer |
A utility class for tokenizing strings. More... | |
Functions | |
void | Utils::split_string (string const &str, string const &sep, vector< string > &arr) |
A collection of utility functions and classes.
This module provides various helper functions and classes designed to facilitate common programming tasks. The utilities included in this group aim to improve code reusability and maintainability by providing generic and widely applicable functionalities.
Splits a string into tokens based on specified delimiters.
This function takes an input string and splits it into a vector of tokens, using the specified separators to identify where to split the string.
str | The input string to split. |
sep | A string containing delimiter characters. |
arr | A vector that will be filled with the resulting tokens. |