Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,075 Views

implode in C

Hello All. 

I'm looking something like implode() (http://php.net/manual/en/function.implode.php) in php. Is Is there some kind of equivalent in C?  

 

Or it's necessary to create custom function?
0 Kudos
4 Replies
Altera_Forum
Honored Contributor I
37 Views

Hi 

There is no equivalent of php-imlode() in C. here (http://know-all.net/articles/view/44) is some example which might help for you. 

 

Good Luck
Altera_Forum
Honored Contributor I
37 Views

Thanks. Good example. But what about special libraries may be there is some library for string manipulation?

Altera_Forum
Honored Contributor I
37 Views

you can design for your own functions..:D

Altera_Forum
Honored Contributor I
37 Views

You could use the boost string library. Specifically boost::algorithm::join (http://www.boost.org/doc/libs/1_56_0/doc/html/string_algo/reference.html#header.boost.algorithm.stri...)

Reply