Mikk38024@legacy41558003 (talk | contribs) ({{widgetmethod}}) |
Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}}) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{widgetmethod}} |
{{widgetmethod}} |
||
− | |||
− | <center>'''GetText''' ''-Documentation by DerGhulbus-''</center> |
||
str = editBox:GetText() |
str = editBox:GetText() |
||
Line 18: | Line 16: | ||
---- |
---- |
||
;''Details'' |
;''Details'' |
||
+ | Note that the special characters "|" and "\" are escaped in the returned string. That way GetText() returns "||" instead of "|" and "\\" instead of "\". |
||
− | -- |
||
---- |
---- |
Revision as of 23:53, 14 July 2008
The API is no longer being updated here until further notice. |
str = editBox:GetText()
Returns the String that is currently entered in the EditBox.
- Arguments
???
- Returns
- str
- str
- String - the current String in the EditBox
- Details
Note that the special characters "|" and "\" are escaped in the returned string. That way GetText() returns "||" instead of "|" and "\\" instead of "\".
- Comments
If you want to read in numbers you should use the GetNumber() function instead.