Documentation
Table of Contents

Method Truncate

Namespace
IntentSharp.Providers
Assembly
IntentSharp.dll

Truncate(string, int)

Returns s unchanged when it has at most max characters, otherwise its first max characters followed by "...".

protected static string Truncate(string s, int max)

Parameters

s string
max int

Returns

string