Skip to content

Instantly share code, notes, and snippets.

@ralphcrisostomo
Created April 18, 2013 09:34
Show Gist options
  • Save ralphcrisostomo/5411465 to your computer and use it in GitHub Desktop.
Save ralphcrisostomo/5411465 to your computer and use it in GitHub Desktop.
exerpt
excerpt : ( string, total ) ->
string = string.substring(total)
string += "..."
string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment