違いは何かと言うと、
substr( from, length ) substring( from, to )
実例を出すとこうなる。
"abc".substr( 1, 2 ); // "bc" "abc".substring( 1, 2 ); // "b"
セコメントをする