Commit | Line | Data |
---|---|---|
805e021f CE |
1 | // |
2 | // NSString+search.h | |
3 | // AFSCommander | |
4 | // | |
5 | // Created by MacDeveloper on 18/03/08. | |
6 | // Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved. | |
7 | // | |
8 | ||
9 | #import <Cocoa/Cocoa.h> | |
10 | ||
11 | ||
12 | ||
13 | /*! | |
14 | @category NSString (search) | |
15 | @abstract Implements some function for searching something into string | |
16 | @discussion <#(comprehensive description)#> | |
17 | */ | |
18 | @interface NSString (search) | |
19 | /*! | |
20 | @function estractTokenByDelimiter | |
21 | @abstract Extract a string enclosed by two token | |
22 | @discussion <#(description)#> | |
23 | @param startToken - start token where the string to get begin | |
24 | @param endTk - end token where the string to get begin | |
25 | @result the found string | |
26 | */ | |
27 | -(NSString*) estractTokenByDelimiter:(NSString*)startToken endToken:(NSString*)endTk; | |
28 | @end |