how to join array after splitting using strtok
View Single Post
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.
Can anyone help me ?