Get the str length.
Substring the widget item.