Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
NVelocity
App
Tools
VelocityFormatter
LimitLen
NVelocity.App.Tools.VelocityFormatter.LimitLen C# (CSharp) Method
VelocityFormatter Class Documentation
Mostra file
Open project: nats/castle-1.0.3-mono
LimitLen()
public
method
Limits 'string' to 'maxlen' characters. If the string gets curtailed, "..." is appended to it.
public
LimitLen
(
int
maxlen
,
String
value
) :
String
maxlen
int
An int with the maximum length.
value
String
A String.
return
String
public String LimitLen(int maxlen, String value) { return LimitLen(maxlen, value, "..."); }
Same methods
VelocityFormatter::
LimitLen
(
int
maxlen
,
String
value
,
String
suffix
) :
String
VelocityFormatter
FormatArray
FormatLongDate
FormatLongDateTime
FormatShortDate
FormatShortDateTime
FormatVector
IsNull
LimitLen
MakeAlternator
MakeAutoAlternator
VelocityFormatter