Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Extensions.Extensions.RemoveUpTo Method

Remove part of a string starting at <para>start</para> searching for the end by matching a character in the string to the list of strings in <para>endChars</para>. The search starts at <para>offset</para>.

Class: YetaWF.Core.Extensions.Extensions
Namespace: YetaWF.Core.Extensions
Assembly: YetaWF.Core

Syntax

public static string RemoveUpTo(
    this string text,
    int start,
    int offset,
    List<char> endChars );

Parameters

text

(not specified)

start

(not specified)

offset

(not specified)

endChars

(not specified)

Return Value

Returns the string with the substring removed.

See Also YetaWF.Core.Extensions.Extensions ClassYetaWF.Core Overview