Merge pull request #513 from lukeIam/TrimCommandLineParam

Trim command line params
This commit is contained in:
Stefan authored and GitHub committed 2020-03-16 19:42:51 +01:00
commit 2682f731ae
1 file changed
+1 -1
+1 -1
View File
@@ -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)
{