BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kstring_seddata

LIBRARY CALL

char *kstring_seddata(
   kstring str,
   kvalist)

INPUT

OUTPUT

none

RETURN VALUE

pointer to resulting kstring

DESCRIPTION

This function performs a global change of text on a string based on substring or regular expression patterns.

ADDITIONAL INFORMATION

none

EXAMPLES

For example, if we call:
new_string = kstring_seddata("Welcome to Khoros", 
"Khoros", "the Twilight Zone", FALSE,
NULL); 
the result will be:
new_string = "Welcome to the Twilight Zone".

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/strings.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.