> s.string is a "cast"

in nim cast is unsafe byte reinterpretation, this is just type conversion.

> For example, I can't do something like $x[0..1]= "AT" but can do 
> x.string[0..1] = "AT". Is that right?

yep 

Reply via email to