-Fix: white space char at the end of the last command line param (fixes #512)

This commit is contained in:
lukeIam committed 2020-03-16 15:25:19 +01:00
1 parent 5032c5aa64
commit 40ebed5647
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)
{