PA_FormatString

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_FormatString (string; format; result)

ParameterTypeDescription
stringchar *String to format
formatchar *Format to use
resultchar *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


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next