Iphone app's
Wednesday, 22 January 2014
Replacing a path
NSString
*newFile =
@"new.html"
;
NSString
*path =
@"/disk/path/to/my/very/nice/file/old.html"
;
path=[path
stringByReplacingOccurrencesOfString
:
@"old.html"
withString
:newFile];
NSLog
(
@"%@"
,path);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment