added trim operand function.
This commit is contained in:
1 parent
5fd02a7a44
commit
c40e288a67
5 files changed
+40
-2
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#g++ -g -std=c++20 -o zstring_test zstring_test.cpp -I.. -L.. -lCoreUtils
|
||||
g++ -g -std=c++20 -o zstring_test zstring_test.cpp -I.. -L.. -lCoreUtils
|
||||
g++ -g -std=c++20 -o mstring_test mstring_test.cpp -I.. -L.. -lCoreUtils
|
||||
g++ -o jstring_test jstring_test.cpp -I.. -L.. -lCoreUtils
|
||||
Binary file not shown.
@@ -122,5 +122,8 @@ int main(int argc, char **argv) {
|
||||
std::cout << "integer '53524534' is [" << test24 << "]" << std::endl;
|
||||
coreutils::ZString test25("-543");
|
||||
std::cout << "integer '-543' is [" << test25 << "]" << std::endl;
|
||||
|
||||
coreutils::ZString test26(" this is a trim test ");
|
||||
std::cout << "trimmed [" << test26.trim() << "]" << std::endl;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user