mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Helpers
- Implemented longestLine, which finds the longest line in a string.
This commit is contained in:
parent
6f17e80461
commit
56ccd16730
3 changed files with 38 additions and 5 deletions
|
@ -39,6 +39,7 @@ std::string trimRight (const std::string& in, const std::string& t = " ");
|
|||
std::string trim (const std::string& in, const std::string& t = " ");
|
||||
std::string unquoteText (const std::string&);
|
||||
int longestWord (const std::string&);
|
||||
int longestLine (const std::string&);
|
||||
void extractLine (std::string&, std::string&, int);
|
||||
void splitq (std::vector<std::string>&, const std::string&, const char);
|
||||
void split (std::vector<std::string>&, const std::string&, const char);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue