Is there a string remove method, that takes an index

Damian damianday at hotmail.co.uk
Tue Jan 29 17:37:36 PST 2013


public string remove(string str, size_t start, size_t n) { }

I need something like this, similar to .Net, does Phobos have 
this?
I have looked at removechars in std.string and this is not 
suitable for me.
Do I need to roll my own?

Thank you.


More information about the Digitalmars-d-learn mailing list