Home | History | Annotate | Download | only in quoted.manip

Lines Matching defs:unquote

87 std::string unquote ( const char *p, char delim='"', char escape='\\' ) {
157 std::wstring unquote ( const wchar_t *p, wchar_t delim='"', wchar_t escape='\\' ) {
204 assert ( unquote ( "\"abc" ) == "abc" );
205 assert ( unquote ( L"\"abc" ) == L"abc" );
207 assert ( unquote ( "abc" ) == "abc" ); // no delimiter
208 assert ( unquote ( L"abc" ) == L"abc" ); // no delimiter
209 assert ( unquote ( "abc def" ) == "abc" ); // no delimiter
210 assert ( unquote ( L"abc def" ) == L"abc" ); // no delimiter
212 assert ( unquote ( "" ) == "" ); // nothing there
213 assert ( unquote ( L"" ) == L"" ); // nothing there