This class contains various string utility methods.
More...
|
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...
|
|
This class contains various string utility methods.
◆ ReplaceUnsafeChars()
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
-
- Returns
- The string with no illegal characters.
◆ TrimSpace()
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
-
untrimmed | The string to trim. |
- Returns
- The string with no spaces.
The documentation for this class was generated from the following file:
- Assets/Plugins/DarkTonic/MasterAudio/Scripts/Utility/UtilStrings.cs