mirror of https://github.com/redis/redis.git
the example output shoule be HelloWorld
This commit is contained in:
parent
2763470dee
commit
88894c7aa6
|
@ -678,7 +678,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
|
||||||
* s = sdstrim(s,"Aa. :");
|
* s = sdstrim(s,"Aa. :");
|
||||||
* printf("%s\n", s);
|
* printf("%s\n", s);
|
||||||
*
|
*
|
||||||
* Output will be just "Hello World".
|
* Output will be just "HelloWorld".
|
||||||
*/
|
*/
|
||||||
sds sdstrim(sds s, const char *cset) {
|
sds sdstrim(sds s, const char *cset) {
|
||||||
char *start, *end, *sp, *ep;
|
char *start, *end, *sp, *ep;
|
||||||
|
|
Loading…
Reference in New Issue