How to do the Split Join array dance?
Arr = StrLines.split(space)
Case SendKey : For i = 1 To arr.Count - 1 : Dim j = String.Join(" ", arr) : SendKeys.SendWait(arr(i) & j) : Next i
I am trying to input all of the characters(including spaces) AFTER the FIRST space.
Case SendKey : If strLine.StartsWith(SendKey) Then : Dim str As String = strLine.Remove(0, 8) : Dim arr() As String = str.Split(CChar(" "))
For L As Integer = 0 To arr.Length - 1
If L < arr.Length - 1 Then : SendKeys.SendWait(arr(L) & " ") : Else : SendKeys.SendWait(arr(L)) : End If
Next : End If