Removes the specified range of characters from this instance.

import {StringBuilder} from "nativescript-stringformat";

// "Marcel Kloubert"
var str1 = new StringBuilder("Marcel Joachim Kloubert")
    .remove(7, 8);

// "Marcel"
var str2 = new StringBuilder("Marcel Joachim Kloubert")
    .remove(6);