Add character token method to split it from a given index
This commit is contained in:
1 parent
3ff1044c6d
commit
a2fcdf834b
2 files changed
+6
No files matched your search
@@ -59,6 +59,11 @@
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (HTMLCharacterToken *)tokenByTrimmingFormIndex:(NSUInteger)index
|
||||
{
|
||||
return [[HTMLCharacterToken alloc] initWithString:[_characters substringFromIndex:index]];
|
||||
}
|
||||
|
||||
#pragma mark - NSObject
|
||||
|
||||
- (BOOL)isEqual:(id)other
|
||||
|
||||
Reference in new issue
Block a user