BSKStringReplace

Module: BSKUtil
BSKCHAR* BSKStringReplace( BSKCHAR* primary,
                           BSKCHAR* target,
                           BSKCHAR* replacement,
                           BSKUI32  from );
Inputs: Returns: the new string, or 0 if the pattern was not found in the primary string.

Description: Searches 'primary' for the first appearance of 'target', at or after 'from', and replaces 'target' with 'replacement.' The string is returned. If 'target' is not found in 'primary', this function returns 0.

Return to the API
Return to the function listing


Last updated on 9 Feb 2001 by Jamis Buck (minam@rpgplanet.com)