StringExtensions.ToSnakeCase Method

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

ToSnakeCase(String)

Returns the snake_cased version of a string. See http://en.wikipedia.org/wiki/Snake_case.

public static string ToSnakeCase(this string text)

Parameters

text
System.String

Returns

System.String

The converted text.