(36 lines)
1 '\" t2 .\" Copyright (c) 2025 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Text.join 3 2025-11-29 "Tomo man-pages"6 .SH NAME7 Text.join \- concatenate with separator8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Text.join\ :\ func(glue:\ Text,\ pieces:\ [Text]\ ->\ Text)13 .fi14 .SH DESCRIPTION15 Joins a list of text pieces with a specified glue.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 glue Text The text used to join the pieces.26 pieces [Text] The list of text pieces to be joined.27 .TE28 .SH RETURN29 A single `Text` value with the pieces joined by the glue.31 .SH EXAMPLES32 .EX33 assert ", ".join(["one", "two", "three"]) == "one, two, three"34 .EE35 .SH SEE ALSO36 .BR Tomo-Text (3)