部分文字列取得メソッド(substring) のパラメータ

Java だと startIndex, endIndex
http://java.sun.com/javase/ja/6/docs/ja/api/java/lang/String.html#substring(int, int)
.NET だと startIndex, length
String.Substring メソッド (Int32, Int32) (System)
SQL Server/ORACEL も startIndex, length
SUBSTRING (Transact-SQL)
文字列関数


JavaScript は、substring(startIndex, endIndex) と substr(startIndex, length) の2種類用意。
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262%20edition%205.1,%20June%202011.pdf
15.5.4.15 String.prototype.substring (start, end)
B.2.3 String.prototype.substr (start, length)
※Annex B (informative) Compatibility とあるので、substr はあんまり使わない方が良いのかな?
JavaScript だと slice の方が一般的?


他の言語だとどうなんだろうね。