Can't you suppress/trim whitespace on the backend before passing it over?
On 5/18/05, Rajesh Jayabalan <[EMAIL PROTECTED]> wrote:
Hi,
How do I trim a string in the actionscript?
when I do this
if( combo.dataProvider[i].data == item[ getDataLabel() ] )
sometimes
item[ getDataLabel() ] returns a string with extra spaces and it
fails the condition
Regards
Rajesh J
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.