new std.array.replaceLast

moved string imports into static if

worked in some review

whitespace damn it