-Fix: white space char at the end of the last command line param (fixes #512)
This commit is contained in:
1 parent
5032c5aa64
commit
40ebed5647
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