Skip to content

Commit 4ff938f

Browse files
authored
Merge pull request MicrosoftDocs#2579 from grahamm78/patch-1
Fix copy / paste typo in example 3
2 parents ae41d9f + 81de77d commit 4ff938f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/basic-string-class.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ int main( )
20592059
cout << "The index of the 1st element of sample "
20602060
<< "in str3 is: " << indexCh3a << endl;
20612061
else
2062-
cout << "The substring 'perfect' was not found in str3 ."
2062+
cout << "The substring 'sample' was not found in str3 ."
20632063
<< endl;
20642064
20652065
const char *cstr3b = "for";

0 commit comments

Comments
 (0)