Breaking Change: Strings class is going away

132 views
Skip to first unread message

Florian Loitsch

unread,
Feb 1, 2013, 10:03:03 AM2/1/13
to General Dart Discussion
The Strings class (note the trailing "s") in core is going away.
If you used Strings.join(stringIterable, separator) replace it with stringIterable.join(separator).
If you used Strings.concatAll(stringIterable) replace it with stringIterable.join().

The old methods are now deprecated and will get removed in a few weeks.
// florian
--
Give a man a fire and he's warm for the whole day,
but set fire to him and he's warm for the rest of his life. - Terry Pratchett
Reply all
Reply to author
Forward
0 new messages