- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Good example. But what about special libraries may be there is some library for string manipulation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can design for your own functions..:D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.string.join_hpp)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page