Skip to content

Commit 86f412a

Browse files
author
msebolt
committed
adjustment
1 parent 1a88104 commit 86f412a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mfc/reference/cstring-formatting-and-message-box-display.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ A string that will replace the format characters `"%1"` in the template string.
9292
9393
### Remarks
9494
95-
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `"File %1 not found"`, and *`lpsz1`* is equal to `C:\MYFILE.TXT`, then *`rString`* will contain the string `"File C:\MYFILE.TXT not found"`. This function is useful for formatting strings sent to message boxes and other windows.
95+
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `"File %1 not found"`, and *`lpsz1`* is equal to `"C:\MYFILE.TXT"`, then *`rString`* will contain the string `"File C:\MYFILE.TXT not found"`. This function is useful for formatting strings sent to message boxes and other windows.
9696
9797
If the format characters `"%1"` appear in the string more than once, multiple substitutions will be made.
9898
@@ -132,7 +132,7 @@ A string that will replace the format characters `"%2"` in the template string.
132132

133133
### Remarks
134134

135-
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `"File %1 not found in directory %2"`, *`lpsz1`* points to `MYFILE.TXT`, and *`lpsz2`* points to `C:\MYDIR`, then *`rString`* will contain the string `"File MYFILE.TXT not found in directory C:\MYDIR"`.
135+
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `"File %1 not found in directory %2"`, *`lpsz1`* points to `"MYFILE.TXT"`, and *`lpsz2`* points to `"C:\MYDIR"`, then *`rString`* will contain the string `"File MYFILE.TXT not found in directory C:\MYDIR"`.
136136

137137
If the format characters `"%1"` or `"%2"` appear in the string more than once, multiple substitutions will be made. They do not have to be in numerical order.
138138

0 commit comments

Comments
 (0)