1
0

add parse and stringify

This commit is contained in:
2025-06-22 19:53:49 +08:00
parent ab8d74efe6
commit 28ff7008a8
9 changed files with 347 additions and 9 deletions

View File

@ -113,7 +113,7 @@ namespace yycc::string::op {
* @param[in] strl The string to be lowercase.
* @return The copy of the string converted to lowercase.
*/
NS_YYCC_STRING::u8string lower(const NS_YYCC_STRING::u8string_view& strl);
NS_YYCC_STRING::u8string to_lower(const NS_YYCC_STRING::u8string_view& strl);
/**
* @brief Convert given string to uppercase.
* @param[in,out] strl The string to be uppercase.
@ -124,7 +124,7 @@ namespace yycc::string::op {
* @param[in] strl The string to be uppercase.
* @return The copy of the string converted to uppercase.
*/
NS_YYCC_STRING::u8string upper(const NS_YYCC_STRING::u8string_view& strl);
NS_YYCC_STRING::u8string to_upper(const NS_YYCC_STRING::u8string_view& strl);
/**
* @brief Split given string with specified delimiter as string view.