Using jQuery to find a substring

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-06-12T03:40:13Z Indexed on 2010/06/12 3:42 UTC
Read the original article Hit count: 175

Filed under:

Say you have a string: "The ABC cow jumped over XYZ the moon" and you want to use jQuery to get the substring between the "ABC" and "XYZ", how would you do this? The substring should be "cow jumped over". Many thanks!

© Stack Overflow or respective owner

Related posts about jQuery