js中substr和substring的区别

On 07/31/2010, in javascript, by kilobug

string.substr( 起始位置, 长度 );
string.substring( 起始位置,结束位置 );

Tagged with:  

One Response to js中substr和substring的区别

  1. veterinary technician says:

    Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

无觅相关文章插件,快速提升流量