Returns a substring of this string starting at the given index. @param __s The index to start at. @return The sub-string for that index. @throws IndexOutOfBoundsException If the start is outside of the bounds. @since 2018/11/04
(int __s)
| 947 | * @since 2018/11/04 |
| 948 | */ |
| 949 | public String substring(int __s) |
| 950 | throws IndexOutOfBoundsException |
| 951 | { |
| 952 | // A substring starting at the zero character is the same |
| 953 | if (__s == 0) |
| 954 | return this; |
| 955 | |
| 956 | // Call other |
| 957 | return this.substring(__s, this.length()); |
| 958 | } |
| 959 | |
| 960 | /** |
| 961 | * Returns a substring of this string. |