Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
({{widgetmethod}})
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

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.