Add trim to ZString.
This commit is contained in:
1 parent
a1cc142a59
commit
d7ef47cd49
3 files changed
+15
-1
No files matched your search
@@ -91,5 +91,8 @@ int main(int argc, char **argv) {
|
||||
std::cout << test16.substring(10, 4) << std::endl;
|
||||
std::cout << test16.substring(0, 7) << std::endl;
|
||||
std::cout << test16.substring(18, 20) << std::endl;
|
||||
|
||||
coreutils::ZString test17(" hello there ");
|
||||
std::cout << "[" << test17.trim() << "]" << std::endl;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user