Function join_char

Source
pub fn join_char(arr: Vec<char>, delimiter: char) -> String
Expand description

Joins a vector of characters into a single string, separated by a delimiter.

§Arguments

  • arr - A Vec<char> containing the characters to join.
  • delimiter - A char used to separate the characters in the resulting string.

§Returns

  • A String with the characters joined by the delimiter.