API FontString GetStringWidth

provides three methods to determine the width of its text independently from the value returned by : stringWidth = fontString:GetStringWidth unboundedStringWidth = fontString:GetUnboundedStringWidth wrappedWidth = fontString:GetWrappedWidth
 * GetStringWidth ignores but includes
 * GetUnboundedStringWidth ignores word wrap and truncation
 * GetWrappedWidth includes word wrap and truncation

Returns

 * stringWidth : Number - The minimum width necessary to contain the currently-displayed, possibly-truncated, text on a single line if WordWrap became forbidden; e.g. the width if word-wrapped lines were strung end-to-end
 * unboundedStringWidth : Number - The minimum width necessary to contain the entire text without truncation if WordWrap became forbidden; e.g. the width if ignoring any fixed or
 * wrappedWidth : Number - The minimum width necessary to contain the currently-displayed text without changing its shape; e.g. the width of the widest line after applying word wrap and truncation