J in Substr (Start,length) and substring (start,end)
Substring
1 The substring method is used to extract the character of a string intermediary between two specified subscripts (Baotou does not wrap the tail)
2 substring (start,end) Start and end position, zero-based index
End: String subscript, The Terminator is not included in the subscript. For example, substring (0,3), that is, starting from subscript 0, intercept to subscript 3 of the previous (not including the subscript 3 of the character)
Substr
The 1 substr method is used to return a substring of the specified length starting at the specified position. SUBSTR (start [, length])
2 truncate the direct-length string. substr (2,3), starting with a subscript of 2, intercepts a string of length 3. SUBSTRING (2,3), which starts with a subscript of 2, intercepts the string of the previous digit labeled 3, which is the 1-bit character intercept.
J in Substr (Start,length) and substring (start,stop)