s.remove(from [nc])
s - str variable.
from - 0-based index of first character to remove.
nc - number of characters to remove. Default: -1 (remove all characters at right (like str.fix)).
Removes nc characters from middle of s.
str s = "My dog and cat" s.remove(2 8) now s is "My cat"