Forum: RForum truncate issue for special character.

Posted by Sunny Bogawat (sunny_bogawat)
on 2008-09-30 11:21
Hi,
In my application i am showing group name in select box
while showing i am truncating name using following code
 <%=truncate_html_strip_textual_wrap(group.name,40,28)%></option>

but for group 'Friends from office "Neovasolutions".' it shows name in
drop down as a Friends from office & quote...
please reply me how to avoid such special character while truncating?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.