jstring changes
This commit is contained in:
1 parent
8f8c14d7b2
commit
f39bdc98f6
9 files changed
+92
-19
No files matched your search
@@ -32,4 +32,11 @@ int main(int argc, char **argv) {
|
||||
coreutils::ZString test2("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ");
|
||||
std::cout << "substring: [" << test2.substring(10) << "]" << std::endl;
|
||||
|
||||
// Test getContainer.
|
||||
|
||||
coreutils::ZString test4("test(this is a container (with a nesting))012345");
|
||||
test4.getTokenExclude("(");
|
||||
std::cout << "container: " << test4.getContainer() << std::endl;
|
||||
std::cout << "rest: " << test4.unparsed() << std::endl;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user