StringJoiner


Object Hierarchy:

Object hierarchy for StringJoiner

Description:

public class StringJoiner : Object

StringJoiner constructs a sequence of characters separated by a delimiter and optionally starting with a prefix and ending with a suffix. This is equivalent to Java's StringJoiner.

Example:

    var joiner = new StringJoiner (", ", "[", "]");
joiner.add ("a");
joiner.add ("b");
joiner.add ("c");
assert (joiner.toString () == "[a, b, c]");


Namespace: Vala.Io
Package: Valacore

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object