changed getTokenExclude method to allow escaped characters.
This commit is contained in:
1 parent
c70f135710
commit
8f5dd52c6a
2 files changed
+13
-2
No files matched your search
@@ -111,5 +111,9 @@ int main(int argc, char **argv) {
|
||||
coreutils::ZString test21("10.00000000");
|
||||
std::cout << "Trailing Zeros: " << test21.removeTrailingZeros() << std::endl;
|
||||
std::cout << " " << test21 << std::endl;
|
||||
|
||||
coreutils::ZString test22("This is a \\\"quoted\\\" string.\"");
|
||||
std::cout << "quoted string: " << test22 << std::endl;
|
||||
std::cout << "quoted string: " << test22.getTokenExclude("\"") << std::endl;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user