MagicCMS Documentation
MagicUtils
.
.
::
.
.
capAndTrunc Method
Caps and trunk a string.
Namespace:
MagicCMS.Core
Assembly:
MagicCMS.4.5
(in MagicCMS.4.5.dll)
Syntax
C#
public
static
string
capAndTrunc
(
string
str
,
int
maxLength
,
bool
onlyAllUpper
)
Parameters
str
Type:
String
The string.
maxLength
Type:
Int32
The maxLength.
onlyAllUpper
Type:
Boolean
if set to
true
[only all upper].
Return Value
See Also
MagicUtils Class
MagicCMS.Core Namespace