Collapse All

Anypia Programmer's Documentation |  |

AfxFormatString2 Function
FormatString.h Functions Send Feedback

Loads the specified string resource and substitutes for the characters "%1"and "%2" the strings referenced by filler1 and filler2.

C++

    void AfxFormatString2(
        std::string& result,
        unsigned int rsc,
        const std::string& filler1,
        const std::string& filler2
    );

File

FormatString.h

Parameters

Parameters | Description
std::string& result | A reference to a string that will contain the resultant string after the substitution is performed.
unsigned int rsc | The resource ID of the template string on which the substitution will be performed
const std::string& filler1 | A string that will replace the format characters "%1" in the template string
const std::string& filler2 | A string that will replace the format characters "%1" in the template string

Group

Functions

Links
FormatString.h, Functions

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!