mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Some optimisation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
49a2c6b3c6
commit
940ba916dd
6 changed files with 96 additions and 12 deletions
|
@ -101,6 +101,11 @@ int main()
|
|||
[s2 replaceCharactersInRange:((NSRange){10,4})
|
||||
withString:@"changed"];
|
||||
print_string(s2);
|
||||
[s2 replaceOccurrencesOfString: @"changed"
|
||||
withString: @"changed again"
|
||||
options: NSLiteralSearch
|
||||
range: NSMakeRange(0, [s2 length])];
|
||||
print_string(s2);
|
||||
|
||||
#if 0
|
||||
/* Test the use of the `%@' format directive. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue