Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

implode in C

Altera_Forum
Honored Contributor II
1,159 Views

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 II
121 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 II
121 Views

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

Altera_Forum
Honored Contributor II
121 Views

you can design for your own functions..:D

Altera_Forum
Honored Contributor II
121 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