str = editBox:GetText()
Returns the String that is currently entered in the EditBox.
- String - the current String in the EditBox
Note that the special characters "|" and "\" are escaped in the returned string. That way GetText() returns "||" instead of "|" and "\\" instead of "\".
If you want to read in numbers you should use the GetNumber() function instead.