doc: replace more deprecated "strcat" uses with "string" in examples.