![]() |
The API is no longer being updated here until further notice. |
Returns the value of an EditBox.
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.
See also
- EditBox:GetNumber() - Extracts a number from an EditBox, or returns 0 if none found.
