HM_strrep()

Replaces a string within a string.

Syntax

char * HM_strrep(char * string, char * replace, char * with);

Type

HyperMesh hmlib Function

Description

Replaces a string within a string.

Inputs

string
A pointer to a string that is to have a substring replaced with another string.
replace
A pointer to a string that contains the string to be replaced.
with
A pointer to a string that contains the string that is to replace any occurrences of *replace.

Example

A pointer to *string.

Errors

None.