1.0.17.23: respect displacement indices when trimming strings (regression 1.0.12.23)