Get text part
- Input:
text: - String text to split start: - Integer start position end: - Integer end position length: - Integer end position relative from start exclude: - Bool crop mode - Output:
- String
- Example:
_hello = loadFile Format ["\:string cut text:%1end:5", "Hello World!"]
- Description:
- Returns portion of the given text. Default start: value is zero and for end: it's length of the text. If starting position is larger than end position then the command will return characters backwards. Use exclude: to cut text from the middle.
- Purpose:
- To have string range functionality but without quoting strings and with more options.
- Version:
- 1.12
- Demo:
- Download
- Source:
- View