mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-07-08 01:30:39 +08:00
Add listdir to fileop
This commit is contained in:
@@ -9,5 +9,13 @@ namespace str_util {
|
||||
* @return true if successed.
|
||||
*/
|
||||
bool tolowercase(std::string ori, std::string& result);
|
||||
/**
|
||||
* @brief Replace all pattern to new_content
|
||||
* @param input Input string
|
||||
* @param pattern Pattern
|
||||
* @param new_content New content
|
||||
* @return Result string
|
||||
*/
|
||||
std::string str_replace(std::string input, std::string pattern, std::string new_content);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user