itertools icon indicating copy to clipboard operation
itertools copied to clipboard

Add `join(prefix, sep, suffix) -> String`

Open ronanM opened this issue 1 year ago • 4 comments

Add a join() operator with prefix, sep and suffix.

assert_eq!([1, 2, 3].iter().join("<[", ", ", "]>"), "<[1, 2, 3]>");

ronanM avatar Aug 06 '24 16:08 ronanM