Merge pull request #513 from lukeIam/TrimCommandLineParam
Trim command line params
This commit is contained in:
1 file changed
+1
-1
@@ -715,7 +715,7 @@ namespace Vocaluxe.Base
|
|||||||
Regex spliterVal = new Regex(@"\s", RegexOptions.IgnoreCase);
|
Regex spliterVal = new Regex(@"\s", RegexOptions.IgnoreCase);
|
||||||
|
|
||||||
//split arg with Spilter-Regex and save in parts
|
//split arg with Spilter-Regex and save in parts
|
||||||
string[] parts = spliterVal.Split(text, 2);
|
string[] parts = spliterVal.Split(text.Trim(), 2);
|
||||||
|
|
||||||
switch (parts.Length)
|
switch (parts.Length)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user