GetAllRemainingParameter trick

This commit is contained in:
Yeechan Lu
2014-03-17 01:53:51 +08:00
parent 069781bcdd
commit 9918b4ee42

View File

@@ -35,10 +35,11 @@ namespace Wox.Plugin
public string GetAllRemainingParameter() public string GetAllRemainingParameter()
{ {
string[] strings = RawQuery.Split(' ');
string[] strings = RawQuery.Split(new char[]{ ' ' }, 2, System.StringSplitOptions.None);
if (strings.Length > 1) if (strings.Length > 1)
{ {
return RawQuery.Substring(RawQuery.IndexOf(' ') + 1); return strings[1];
} }
return string.Empty; return string.Empty;