What I am trying to do is take the output from $Split which should be just test and display it in $Input2. However when I open this all I get in #Input2 is 0. #include <GUIConstantsEx.au3> #include <GUIConstants.au3> #Include <String.au3> GuiCreate("test", 400, 400) GuiSetState(@SW_SHOW) Local $Input1 = GUICtrlCreateList("test.test.test", 10, 10, 100, 20) Local $Split = StringTrimRight(GUICtrlRead($Input1), 12) Local $Input2 = GUICtrlCreateEdit(GUICtrlRead($Split), 10,