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
sstringmaxint
Returns
- string