_CP_soundex

_CP_soundex is equivalent to the result = soundex(string, type) BASIC statement.

Syntax

int _CP_soundex(CPSTR** result, CPSTR* string, int type)

Description

This function returns -1 if an error occurs. The error code is contained in _CP_errno.

Example(s)

/* Prints "H000". */

 

CPSTR * s = _CP_mkstr("hi");

 

_CP_soundex(&s,s,0);

_CP_print(s);

See Also

C Functions Overview