Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
AfxFormatString2 Function

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
);
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 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!