static string removeChar(String source, Integer index) { return source.left(index)+source.right(source.length()-index-1); }
Standard input is empty
Object: nil error: did not understand #string MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) UndefinedObject(Object)>>doesNotUnderstand: #string (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:1) Object: String error: did not understand #source MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254) String class(Object)>>doesNotUnderstand: #source (SysExcept.st:1448) UndefinedObject>>executeStatements (prog:1)
./prog:2: parse error, expected '}'