TextExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static class TextExtensions
type TextExtensions = class
Public Module TextExtensions
- Inheritance
-
TextExtensions
Methods
CopyToString(TextRange) |
Copies the TextRange to a string. |
EndsWith(TextRange, String, Boolean) |
Determines whether this range ends with the given text. |
IndexOf(TextRange, String, Boolean) |
Determines the position of the given text in the range. Returns -1 if the text can't be found. |
LastIndexOf(TextRange, String, Boolean) |
Determines the last position of the given text in the range. Returns -1 if the text can't be found. |
StartsWith(TextRange, String, Boolean) |
Determines whether this range starts with the given text. |