PA_FormatString


version 2003


PA_FormatString (string; format; result)

Parameter Type Description
string char * String to format
format char * Format to use
result char * Formated string

Description

The routine PA_FormatString applies format to string and returns the formatted string in result .

Depending on default settings or on previous calls to PA_UsePStrings or PA_UseCStrings , format

and string must be, and result will be Pascal or a C strings.

Example

   PA_FormatString("123456", "## ## ##", result); // result is now "12 34 56"

See Also

No reference.

Error Handling

PA_GetLastError

always returns eER_NoErr