functional overview
Retrieves some characters from a string.
Details of Functions
String 1(at sentence-end, falling tone) indicates a confident conclusionstarting positionFrom the first letter,lengthGets the number of characters.
starting positionis negative, the position is from the tail. For example, -2 means "starting from the second character from the back".
lengthis negative, it means "to the end.
lengthis 0, nothing is acquired.
- note
-
character string starting position length result test 0 1 t test 0 3 tes test 0 5 test test 0 -1 test test 0 0 test 2 1 s test 2 -1 st test -2 2 st handbasket 1 1 be (auxiliary used in place of "aru" when forming a copula)
parameter
- argument (e.g. function, program, programme)
-
character string character string data
Specify the target string.starting position numeric data
Specifies the location to be acquired.length numeric data
Specifies the length of characters to be retrieved.
- return value
-
character string data
Returns the retrieved string.