> is what you want? Obviously not really -- strutils.removeSuffix() was only an example for some Nim procs which works only in place, while user may need a proc that returns a modified value. (English is not my native language, but after rereading my initial post, I think that my description was not too bad. But maybe I can write my next post more clearly :-)
But I think Araq has understood the core of my concern.