The Artima Developer Community
Sponsored Link

Java Buzz Forum
Ruby Snippet: Shortening Long Strings For Display

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Benjamin Booth

Posts: 238
Nickname: benthere
Registered: Feb, 2005

Benjamin Booth is software architect, programmer, web developer and entreprenuer.
Ruby Snippet: Shortening Long Strings For Display Posted: Dec 28, 2006 6:33 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Benjamin Booth.
Original Post: Ruby Snippet: Shortening Long Strings For Display
Feed Title: Table or Booth
Feed URL: http://benjaminbooth.typepad.com/tableorbooth/index.rdf
Feed Description: Software choices and a little on the aftermath.
Latest Java Buzz Posts
Latest Java Buzz Posts by Benjamin Booth
Latest Posts From Table or Booth

Advertisement
Ever had a long string like this: myveryveryveryveryveryveryveryveryveryveryveryveryveryveryverylongstring and wanted to turn it into something much shorter, such as this: myveryvery...longstring? Here's a little snippet that does just this. It works great in HTML select lists which, to my knowledge,...

Read: Ruby Snippet: Shortening Long Strings For Display

Topic: Digging out... Previous Topic   Next Topic Topic: Entreprise-Search...Free

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use