[BF] Fixed String.substringFromIndex: and String.substringToIndex: methods