Mercurial > minori
comparison include/core/strings.h @ 118:39521c47c7a3
*: another huge megacommit, SORRY
The torrents page works a lot better now
Added the edit option to the anime list right click menu
Vectorized currently playing files
Available player and extensions are now loaded at runtime
from files in (dotpath)/players.json and (dotpath)/extensions.json
These paths are not permanent and will likely be moved to
(dotpath)/recognition
...
...
...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 23:40:54 -0500 |
parents | 254b1d2b7096 |
children | bc218c9d2ea6 |
comparison
equal
deleted
inserted
replaced
117:2c1b6782e1d0 | 118:39521c47c7a3 |
---|---|
12 namespace Strings { | 12 namespace Strings { |
13 | 13 |
14 /* Implode function: takes a vector of strings and turns it | 14 /* Implode function: takes a vector of strings and turns it |
15 into a string, separated by delimiters. */ | 15 into a string, separated by delimiters. */ |
16 std::string Implode(const std::vector<std::string>& vector, const std::string& delimiter); | 16 std::string Implode(const std::vector<std::string>& vector, const std::string& delimiter); |
17 std::vector<std::string> Split(const std::string &text, const std::string& delimiter); | |
17 | 18 |
18 /* Substring removal functions */ | 19 /* Substring removal functions */ |
19 std::string ReplaceAll(std::string string, const std::string& find, const std::string& replace); | 20 std::string ReplaceAll(std::string string, const std::string& find, const std::string& replace); |
20 std::string SanitizeLineEndings(const std::string& string); | 21 std::string SanitizeLineEndings(const std::string& string); |
21 std::string RemoveHtmlTags(std::string string); | 22 std::string RemoveHtmlTags(std::string string); |