Share via


TextExtensions Class

Definition

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.

Applies to