NiceTouch v2.1
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 More...
 
static int RichTextLength (string richText)
 Returns the length of a rich text, excluding its tags More...
 
static string ToTitleCase (this string title)
 Elegantly uppercases the first letter of every word in a string More...
 
static string RemoveExtraSpaces (this string s)
 Removes extra spaces in a string More...
 

Detailed Description

String helpers

Member Function Documentation

◆ RemoveExtraSpaces()

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

Removes extra spaces in a string

Parameters
s
Returns

◆ RichTextLength()

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

Returns the length of a rich text, excluding its tags

Parameters
richText
Returns

◆ ToTitleCase()

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

Elegantly uppercases the first letter of every word in a string

Parameters
title
Returns

◆ UppercaseFirst()

static 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: