DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

StringReplace

Replace the contents of one string with that of another

SYNOPSIS

#include "dip_string.h"

dip_Error dip_StringReplace ( str1, str2, cstr )

FUNCTION

Replaces the content of str1 with str2. str1 is increased in size if necessary. If str2 is 0, cstr is used instead.

ARGUMENTS

Data typeNameDescription
dip_Stringstr1Destination string
dip_Stringstr2Source string
char *cstrSource string

SEE ALSO

StringAppend, StringCat, StringCompare, StringCompareCaseInsensitive, StringCopy, StringCrop, StringNew, UnderscoreSpaces