Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.MMString Class Reference

String helpers. More...

Static Public Member Functions

static string UppercaseFirst (string s)
 Uppercases the first letter of the parameter string.
static int RichTextLength (string richText)
 Returns the length of a rich text, excluding its tags.
static string ToTitleCase (this string title)
 Elegantly uppercases the first letter of every word in a string.
static string RemoveExtraSpaces (this string s)
 Removes extra spaces in a string.

Detailed Description

String helpers.

Member Function Documentation

◆ RemoveExtraSpaces()

string MoreMountains.Tools.MMString.RemoveExtraSpaces ( this string s)
static

Removes extra spaces in a string.

Parameters
s
Returns

◆ RichTextLength()

int MoreMountains.Tools.MMString.RichTextLength ( string richText)
static

Returns the length of a rich text, excluding its tags.

Parameters
richText
Returns

◆ ToTitleCase()

string MoreMountains.Tools.MMString.ToTitleCase ( this string title)
static

Elegantly uppercases the first letter of every word in a string.

Parameters
title
Returns

◆ UppercaseFirst()

string MoreMountains.Tools.MMString.UppercaseFirst ( string s)
static

Uppercases the first letter of the parameter string.

Parameters
s
Returns

The documentation for this class was generated from the following file: