Infohazard.Core 1.4.1
Infohazard Core Utility Library
Loading...
Searching...
No Matches
Infohazard.Core.StringUtility Class Reference

Contains string processing utilities. More...

Static Public Member Functions

static string SplitCamelCase (this string str, bool capitalizeFirst=false)
 Splits a camel-case string into words separated by spaces. More...
 

Detailed Description

Contains string processing utilities.

Member Function Documentation

◆ SplitCamelCase()

static string Infohazard.Core.StringUtility.SplitCamelCase ( this string  str,
bool  capitalizeFirst = false 
)
static

Splits a camel-case string into words separated by spaces.

Multiple consecutive capitals are considered the same word.

Parameters
strThe string to split.
capitalizeFirstWhether to capitalize the first letter.
Returns
The split string.

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