Index: include/strEx.h
===================================================================
--- include/strEx.h	(revision b67d231349149242438d38f780933278dd3b0dfa)
+++ include/strEx.h	(revision 6090c9806206e2768dfdbeb010e3142db9e885f3)
@@ -446,5 +446,5 @@
 	// foo bar "foo \" bar" foo -> foo, bar "foo \" bar" foo -> bar, "foo \" bar" foo -> 
 	// 
-	inline token getToken(std::wstring buffer, char split, bool escape = false) {
+	inline token getToken(std::wstring buffer, wchar_t split, bool escape = false) {
 		std::wstring::size_type pos = std::wstring::npos;
 		if ((escape) && (buffer[0] == '\"')) {
@@ -459,5 +459,5 @@
 		if (pos == buffer.length()-1)
 			return token(buffer.substr(0, pos), _T(""));
-		return token(buffer.substr(0, pos-1), buffer.substr(pos-1));
+		return token(buffer.substr(0, pos), buffer.substr(pos+1));
 	}
 
