NAME
str_subst -- substitute string
PROTOTYPE
unitptr str_subst_unit( unitptr uHost)
ARGUMENTS
- unitptr uHost
- host unit
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
INTERFACE OF CREATED UNIT:
- X_in[*]:
- (string input field 0) input string
- Y_in[*]:
- (string input field 1) substring to replace
- Z_in[1]:
- (input field 2) start replacements here
- inp_3[1]:
- (input field 3) max this many chars to consider
- X_out[*]:
- (string output field 0) input string with all
occurrences of substring replaced.
EXECUTION OF CREATED UNIT:
Replaces occurrences of substring in string
FILE
/local/homes/rhaschke/nst7/man/../o.linx86//../foldersrc/nst_string.c