Home › Forums › JavaScript › Breaking apart text › Re: Breaking apart text
July 6, 2009 at 6:51 pm
#60225
Participant
So i have been reading up on jQuery a bit more… to be honest it is hard for my mind to wrap around…
if I put a string of text like such…
Code:
20-Jul-2009
Can I create some jQuery code that will virtually erase everything after the 20?
Then if I had that same string of text but displayed as such…
Code:
20-Jul-2009
Can I have another line of script that will erase the 20- and the -2009?
I was looking at http://docs.jquery.com/Manipulation where it talks about Changing and Removing Content and am wondering if i am in the right area or even on the right track?
Thank you in advance for any help on the matter