TagHelperDescriptorFactory.ToHtmlCase(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts from pascal/camel case to lower kebab-case.
public:
static System::String ^ ToHtmlCase(System::String ^ name);
public static string ToHtmlCase (string name);
static member ToHtmlCase : string -> string
Public Shared Function ToHtmlCase (name As String) As String
Parameters
- name
- String
Returns
Examples
SomeThing => some-thing
capsONInside => caps-on-inside
CAPSOnOUTSIDE => caps-on-outside
ALLCAPS => allcaps
One1Two2Three3 => one1-two2-three3
ONE1TWO2THREE3 => one1two2three3
First_Second_ThirdHi => first_second_third-hi