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);
|
||||
|
||||
//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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user