mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08:00
GetAllRemainingParameter trick
This commit is contained in:
parent
069781bcdd
commit
9918b4ee42
@ -35,10 +35,11 @@ namespace Wox.Plugin
|
||||
|
||||
public string GetAllRemainingParameter()
|
||||
{
|
||||
string[] strings = RawQuery.Split(' ');
|
||||
|
||||
string[] strings = RawQuery.Split(new char[]{ ' ' }, 2, System.StringSplitOptions.None);
|
||||
if (strings.Length > 1)
|
||||
{
|
||||
return RawQuery.Substring(RawQuery.IndexOf(' ') + 1);
|
||||
return strings[1];
|
||||
}
|
||||
|
||||
return string.Empty;
|
||||
|
Loading…
Reference in New Issue
Block a user