|
|
|
|
@ -243,7 +243,6 @@ char *yon_char_from_long(long int_to_convert)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
char* yon_char_replace(char *source, char *find, char *replace){
|
|
|
|
|
// int cur_pos = 0;
|
|
|
|
|
int size;
|
|
|
|
|
config_str parsed = yon_char_parse(source,&size,find);
|
|
|
|
|
char *final = yon_char_parsed_to_string(parsed,size,replace);
|
|
|
|
|
@ -567,7 +566,8 @@ char *yon_char_parsed_to_string(config_str parsed, int size, char *divider_repla
|
|
|
|
|
if (!yon_char_is_empty(final_string)){
|
|
|
|
|
return final_string;
|
|
|
|
|
} else return NULL;
|
|
|
|
|
} else if (size==0&&!parsed) return "";
|
|
|
|
|
}
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
char *yon_char_parsed_to_string_for_iters(config_str parsed, int size, char *divider_replace,int iterations){
|
|
|
|
|
|