Master Audio Multiplayer  1.3.8
The ONLY audio framework with extensive turnkey multiplayer features!
DarkTonic.MasterAudio.UtilStrings Class Reference

This class contains various string utility methods. More...

Static Public Member Functions

static string TrimSpace (string untrimmed)
 This method is used to name Sound Groups, Variations and Playlists based on the first clip dragged in. It removes spaces at the end and beginning of the audio file name. More...
 
static string ReplaceUnsafeChars (string source)
 This method is used to make sure no apostrophes or quotes are in XML attributes. More...
 

Detailed Description

This class contains various string utility methods.

Member Function Documentation

static string DarkTonic.MasterAudio.UtilStrings.ReplaceUnsafeChars ( string  source)
static

This method is used to make sure no apostrophes or quotes are in XML attributes.

Parameters
sourceThe string to fix.
Returns
The string with no illegal characters.
static string DarkTonic.MasterAudio.UtilStrings.TrimSpace ( string  untrimmed)
static

This method is used to name Sound Groups, Variations and Playlists based on the first clip dragged in. It removes spaces at the end and beginning of the audio file name.

Parameters
untrimmedThe string to trim.
Returns
The string with no spaces.

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