ID:133715
 
On a scale of 1 to INCONCEIVABLE!, how difficult would it be to implement string slicing and in-place character editing of strings in the language's lexer?

Specifically, I'm looking at the following features:

var/string1 = "Hello world!"
//slice from 7th character (inclusive) to 12th character (exclusive)
var/string2 = string1[7..12]
usr << string2 //"world"


var/string3 = "I am the very model of a modern major general!"
string3[46] = "."
usr << string3 //as above, but exclamation point is now a period
Hopefully not too inconceivable as strings are arrays in C/C++ anyways, and this could be useful.