|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2018 [email protected]
4: //
5:
6: #pragma once
7:
8: extern std::string string_format(const char *fmt, ...) __printflike(1, 2);
1.1.1.2 ! root 9:
! 10: // 先頭の連続する空白文字列を取り除いた新しい文字列を返す
! 11: extern std::string string_ltrim(const std::string& str);
! 12:
! 13: // 末尾の連続する空白文字列を取り除く
! 14: extern void string_rtrim(std::string& str);
! 15:
! 16: // 末尾の連続する空白文字列を取り除く (char *版)
! 17: extern void rtrim(char *str);
! 18:
! 19: // 文字列中の ASCII 大文字を小文字にした新しい文字列を返す
! 20: extern std::string string_tolower(const std::string& str);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.