Public Sub GetCommand(Key As String) As String
If Key.StartsWith("#") Then Return Key.SubString(1) ' if key starts with # then return key itself without #
If commands.ContainsKey("sql." & Key) = False Then
Log("*** Command not found: " & Key)
End If
Return commands.Get("sql." & Key)
End Sub