substring backwards c# code example
Example: c# substring reverse
public static string ToReverseString(this string value)
{
return string.Join("", value.Reverse());
}
public static string SubstringReverse(this string value, int indexFromEnd, int length)
{
return value.ToReverseString().Substring(indexFromEnd, length).ToReverseString();
}