|
|
1.1 root 1: //
2: // nono
1.1.1.3 ! root 3: // Copyright (C) 2020 nono project
! 4: // Licensed under nono-license.txt
1.1 root 5: //
6:
7: #pragma once
8:
1.1.1.3 ! root 9: #include "header.h"
! 10:
1.1 root 11: extern std::string string_format(const char *fmt, ...) __printflike(1, 2);
1.1.1.2 root 12:
13: // 先頭の連続する空白文字列を取り除いた新しい文字列を返す
14: extern std::string string_ltrim(const std::string& str);
15:
16: // 末尾の連続する空白文字列を取り除く
17: extern void string_rtrim(std::string& str);
18:
19: // 末尾の連続する空白文字列を取り除く (char *版)
20: extern void rtrim(char *str);
21:
22: // 文字列中の ASCII 大文字を小文字にした新しい文字列を返す
23: 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.