Text.RemoveRange
Syntax
Text.RemoveRange(text as nullable text, offset as number, optional count as nullable number) as nullable text
About
Returns a copy of the text value text
with all the characters from position offset
removed. An optional parameter, count
can by used to specify the number of characters to remove. The default value of count
is 1. Position values start at 0.
Example 1
Remove 1 character from the text value "ABEFC" at position 2.
Usage
Text.RemoveRange("ABEFC", 2)
Output
"ABFC"
Example 2
Remove two characters from the text value "ABEFC" starting at position 2.
Usage
Text.RemoveRange("ABEFC", 2, 2)
Output
"ABC"
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for