Declaration
public static string SubstringSafe(
this string source,
int startIndex
)Summary
Same as
string.Substring(int) but does not throw exceptions when the start index falls outside
the boundaries of the string. Instead the result is truncated as appropriate.