Detect in-place modifications on Strings