Table of Contents

Struct StringReplacement

Namespace
Garyon.Extensions
Assembly
Garyon.dll
public readonly record struct StringReplacement : IEquatable<StringReplacement>
Implements
Inherited Members
Extension Methods

Constructors

StringReplacement(int, int, string)

public StringReplacement(int Start, int Length, string NewText)

Parameters

Start int
Length int
NewText string

Properties

Length

public int Length { get; init; }

Property Value

int

LengthDifference

public int LengthDifference { get; }

Property Value

int

NewEnd

public int NewEnd { get; }

Property Value

int

NewLength

public int NewLength { get; }

Property Value

int

NewText

public string NewText { get; init; }

Property Value

string

SourceEnd

public int SourceEnd { get; }

Property Value

int

Start

public int Start { get; init; }

Property Value

int

Methods

Apply(string)

public string Apply(string source)

Parameters

source string

Returns

string