description | title |
---|---|
Learn more about: Text.Middle |
Text.Middle |
Text.Middle(text as nullable text, start as number, optional count as nullable number) as nullable text
Returns count
characters, or through the end of text
; at the offset start
.
Find the substring from the text "Hello World" starting at index 6 spanning 5 characters.
Usage
Text.Middle("Hello World", 6, 5)
Output
"World"
Find the substring from the text "Hello World" starting at index 6 through the end.
Usage
Text.Middle("Hello World", 6, 20)
Output
"World"