/// <summary>
 /// Gets the sub range - the safe way.
 /// This method character ranges instead of substrings, and that's why it's safer than
 /// GetSubRange.
 /// </summary>
 /// <param name="range">The range</param>
 /// <param name="startIndex">The 0-based start index (not the range-index).</param>
 /// <returns></returns>
 public static Range GetSubRange(this Range range, int startIndex)
 {
     return(RangeUtils.GetSubRange2(range, startIndex));
 }