how to join array after splitting using strtok

spurthy04's Avatar, Join Date: Aug 2011
Newbie Member

I have code where i've split the string "abc,cde,xyz" to abc cde and xyz using strtok.

Now, I want to join it by adding single quote to each tokenised value.
like 'abc','cde','xyz'.

Can anyone help me ?

shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Duplicate of

Thread closed.