Fix String.Remove logic

Prevent out of bounds exception when string.length == 0