EditBox:GetText
Jump to navigation
Jump to search
Returns the value of an edit box.
text = EditBox:GetText()
Returns
- text
- string - The current text; however, "|" and "\" are escaped as "||" and "\\".
Details
- Due to special character escaping, it is safe to immediately pass the return value back to EditBox:SetText().
- Returns the new value within OnTextSet and OnTextChanged handlers.