Table of Contents

Method LimitLength

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

LimitLength(string?, int)

Limits the length of text to a defined length.

public static string? LimitLength(string? text, int maxLength)

Parameters

text string

The source text.

maxLength int

The maximum limit of the string to return.

Returns

string