var patt = new RegExp('Adam');//要查找的字符串为'Adam'
var str = 'My name is Adam Li.';
if(patt.test(str)){//字符串存在返回true否则返回false
document.write('字符串中有Adam');
}else{
document.write('字符串中没有Adam');
}
李汉团 Mar 2,2012
var patt = new RegExp('Adam');//要查找的字符串为'Adam'
var str = 'My name is Adam Li.';
if(patt.test(str)){//字符串存在返回true否则返回false
document.write('字符串中有Adam');
}else{
document.write('字符串中没有Adam');
}
李汉团 Mar 2,2012
© 著作权归作者所有
Shoe colors for this year tend to be a bit brighter than <strong><A href="http://www.sacvuitton-pascher.com/louis-vuitton-homme.html"> Louis Vuitton Homme Pas Cher</A></strong>
other years, but still adhere to the classic elegance that Louis Vuitton is known for. Their sophisticated style can be worn year in and out and will never seem outdated.
Louis Vuitton is loved by everyone, celebrity or not, and <strong><A href="http://www.sacvuitton-pascher.com/louis-vuitton-femme.html">Louis Vuitton Femme Sac</A></strong> these shoe styles make themselves at home either in the office, on a trip, or on Hollywood's red carpet.
Luckily there are places on the web where discount Louis Vuitton womens <strong><A href="http://www.sacvuitton-pascher.com/louis-vuitton-femme/sacs-a-main.html">Louis Vuitton Sac Pas Cher</A></strong>
shoes can be found. If it is womens designer shoes at discount prices that you search for, look no further. There is huge selection available in one easy to find place.