Action()
{
char str[]="12345";
char result_str[1024];
add_break(str,",",result_str);
lr_error_message("%s\n",result_str);
return 0;
}
void add_break(char * str,char * str_break,char result_str[1024]){
int i = 0;
int str_len=strlen(str);
memset(result_str,0,sizeof(result_str));
sprintf(result_str,"%c",str[0]);
for (i=1;i<str_len;i++) {
sprintf(result_str,"%s%s%c",result_str,str_break,str[i]);
}
}