StringExtensions.ToSpinalCase Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ToSpinalCase(string)

Returns the spinal-cased version of a string. Spinal case is similar to snake_case, but underscores are replaced with dashes.

public static string ToSpinalCase(this string text)

Parameters

text
string

The text to convert.

Returns

string

The converted text.