FLEX: how can I cut the strings longer than N characters
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-05-06T07:23:36Z
Indexed on
2010/05/06
7:28 UTC
Read the original article
Hit count: 196
flex
hi,
what's the easiest way to cut string in Flex ? I mean, I have a sequence of urls, I want them at most 60 characters length. If they are longer they should be cut and "..." should be added at the end.
<mx:LinkButton label="{bookmarksRepeater.currentItem.name}" click="navigateToURL(new URLRequest(event.currentTarget.label.toString()))" />
thanks
© Stack Overflow or respective owner