Fandom

WoWWiki

API EditBox GetText

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Widget API ← EditBox < GetText
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.

Also on Fandom

Random Wiki