[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Equivalent of Perl 'join' ?
From: |
CdeMills |
Subject: |
Equivalent of Perl 'join' ? |
Date: |
Thu, 16 Dec 2010 02:13:29 -0800 (PST) |
Hello,
I'm missing a Perl feature. The join function works as follows:
join EXPR,LIST
Joins the separate strings of LIST into a single string with
fields separated by the value of EXPR, and returns that new
string.
The EXPR is inserted at each intermediate place. I would like to have such a
function to emit on a single line all the elements of a string array,
separated by commas. Before starting writing my own implementation, is there
an equivalent ?
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/Equivalent-of-Perl-join-tp3090590p3090590.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Equivalent of Perl 'join' ?,
CdeMills <=
- Re: Equivalent of Perl 'join' ?, Ben Abbott, 2010/12/16
- Re: Equivalent of Perl 'join' ?, John W. Eaton, 2010/12/16
- Re: Equivalent of Perl 'join' ?, bpabbott, 2010/12/16
- Re: Equivalent of Perl 'join' ?, CdeMills, 2010/12/16
- Re: Equivalent of Perl 'join' ?, John W. Eaton, 2010/12/16
- Re: Equivalent of Perl 'join' ?, CdeMills, 2010/12/16