(
clearListener()
z=( replace "#(1,2,3,\"kdofsgk\")" 1 1 "") as name
print z
global ListerText -- declare variable so its scope is higher
-- than inside just the following block
-- expression
( setListenerSel #(0,-1) -- select all the text
ListenerText=getListenerSelText() -- get selected text
setListenerSel #(-1,-1) -- set insertion point at
-- end of output pane
)
)
ListenerText