Search in forum:
Search


« View previous topic :: View next topic »  
Author Message
Post06/04/2009 at 3:34pm (UTC)    
Post subject: Isolating text in Double Quotes. help!

Iam a new bie to javascript but i know some basics

I'd like to isolate portions of text in a string that are enclosed in double quotation marks.

Does javascript help me to do this?

for instance

var string='this is "some" text that is "used" for testing';

i want to get text in double qoutes(i.e.'some' & 'used')

i would like to have array of these strings

like this,

var a=new Array()
a[1]="some";
a[2]="used";
Post07/28/2009 at 3:36pm (UTC)    
Post subject:

http://www.webdesignerwall.com/tutorials/simple-double-quotes/
______________
- If you love your own-free-website, fight against to spams and spammers! Please support us, let's remove all the spammers together! We don't want to see spams and spammers on OFW board!

- The only language of the board is English / Englisch / Anglaise / Ingl├ęs / Inglese / İngilizce / Angielski / Английский / Αγγλικά / 英语 / 英语简体英文. So please write in just English!

Own-free-website.com

Post08/16/2009 at 2:14am (UTC)    
Post subject:

I'd found answer for this.this can be done by using split method.to know the solution contact me
Display posts from previous:   


Powered by phpBB © 2001, 2005 phpBB Group