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
System.String

Returns

System.String

The converted text.