Re: opposite function to split?
randomtalk@xxxxxxxxx wrote:
hello everyone! I can't seem to find a function that combines a list of
items into a string with a seperator between the individual elements..
Is there such a method that does the opposite of sting.split? thanks
alot!
join is your answer
','.join(['a','b','c']) == 'a,b,c'
--
Robin Becker
.
Relevant Pages
- Re: Beginners Program
... It is one of my first programs, ... > # isn't special and doesn't need to be escaped in a double quoted string. ... >> alot more understandable ... > input file things could go wrong. ... (comp.lang.perl.misc) - RE: Split Data within a column.
... I tried alot of different combinations of the queries I found on this site ... Mid will return a zero length string ... (microsoft.public.access.queries) - Re: Thumb rest on a fender P
... the opposite is the case -- Originally on the G string side. ... back when most players used their thumb. ... Migration was opposite direction -- ultimately, they put it above the E ... (alt.guitar.bass) - Re: Easier way to determine if a string is an alphanumeric number?
... >> can verify that a string is an alphanumeric number? ... Albeit my return value is opposite that of the original code... ... Mark ... (comp.lang.c) - Re: Code for counting commas in a text field?
... If this was a function being called alot, ... >> Public Function CountCommas(strInput As String) As ... >> Chris Nebinger ... >> number of commas in a text field? ... (microsoft.public.access.modulesdaovba) |
|