Returns the edit box's text contents

Signature:

text = EditBox:GetText()

Returns:

  • text - Text contained in the edit box (string)