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
string

The text to convert.

Returns

string

The converted text.