mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
GetAllRemainingParameter trick
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user