Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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();
}
Source by buraksenturk.com.tr #
 
PREVIOUS NEXT
Tagged: #substring #reverse
ADD COMMENT
Topic
Name
9+6 =