SyntaxFix
Write A Post
Hire A Developer
Questions
You'll want to look into JavaScript's substr or split, as this is not really a task suited for jQuery.