lstring.h Header
Type Aliases
| using | LString | Type alias for std::string. |
| using | LStringList | Type alias for a vector of LStrings. |
Functions
| bool | starts_with(const LString & str, const LString & prefix) |
| LString | join(const LStringList & strings, const LString & delimiter = "") |
| T | split(const LString & s, char delimiter) |
Type Alias Documentation
using LString = std::string
Type alias for std::string.
using LStringList = std::vector<LString>
Type alias for a vector of LStrings.
Function Documentation
bool starts_with(const LString & str, const LString & prefix)
Checks if a string starts with the given prefix.
Returns true if str begins with prefix, false otherwise.
LString join(const LStringList & strings, const LString & delimiter = "")
Joins the provided strings together into one, separated by delimiter.
template<typename T>
T split(const LString & s, char delimiter)
Splits a string into tokens based on a delimiter.
The template parameter T should be a container type (e.g., std::vector