• Sign Up
    • OpenID
    • Google
    • Yahoo!
    • Facebook
    • Ning
  • Discuss
  • New Topic
  • Categories
  • Forum
  • Debate
  • Languages
    • English
    • Finnish
    • Arabic
    • Italian
    • Korean
    • French
    • Chinese(Traditional)
    • Chinese(Simplified)
    • Swedish
    • Czech
    • Hindi
    • Dutch
    • Norwegian
    • Russian
    • Croatian
    • German
    • Japanese
    • Bulgarian
    • Portuguese
    • Chinese
    • Spanish
    • Greek
  • Login

Ok

Ads

affordable seo

Ask a Question



Welcome New Members!

zhangwigs

chandan...

jimmy b...

moneyma...

stacyjohn

Emile

Tiffany

CBIL360

Lawsons

christi...

meiwei

kingkhan

brendaj...

swati

sunnyjohn

conniejohn

sunnyping

fengmi

califor...

hengjiao


Hot Topics

array code column content Custom database drupal element field file form function index jquery module MySQl node page PHP query server something SQL string table theme time user VALUE way

 

 

 

Reason

 

How would I have string be an array of strings in this example?

ArtPie

ArtPie
How would I have string be an array of strings in this example?: var string = "highlight this"; var message = "please highlight this"; var rg = new RegExp('('+string+')', 'g'); message = message.replace(rg, '$1');

I will provide 200 website hits for your website for $5


In jQuery | 0 Replies | 1484 Views | 1 month ago
array example string var message
  • Report Abuse
  • Email
  • Add to Favorites

Rate Now:   1 2 3 4 Average Rating: 0.00 / 0 ratings


Replies:

No Replies Yet! Be the first?


Your Response:

Join

Login


 

Related Questions

Is the_content a string or an array?
0 Answers | 102 Views
What's the proper way to append a string to an existing array?
0 Answers | 107 Views
How to check "If this variable is not type Array" in PHP?
0 Answers | 2912 Views
Is there a printf-like string function in postgresql?
0 Answers | 3711 Views
Data structure to reduce the number of regexps performed on a string ?
0 Answers | 3844 Views
Disclaimer | Privacy Policy | Terms | ■ RSS | Sitemap | Contact Us | ■ Invite | Create your Widget | ■ Twitter | ■ Facebook
© 2013 PHPInformer. All rights reserved

PHPInformer does not evaluate or guarantee the accuracy of any PHPInformer content. Click here for the Full Disclaimer.