Created
June 29, 2011 19:51
-
-
Save aaronpearce/1054753 to your computer and use it in GitHub Desktop.
Tblumps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (int i = 0; i < [[self tablumps] count]; i++) { | |
bodyString = [bodyString stringByReplacingOccurrencesOfString:[[self tablumps] objectAtIndex:i] withString:[[self tablumpsReplace] objectAtIndex:i]]; | |
} | |
for (int j = 0; j < [[self tablumpsRegex] count]; j++) { | |
bodyString = [bodyString stringByReplacingOccurrencesOfRegex:[[self tablumpsRegex] objectAtIndex:j] withString:[[self tablumpsRegexReplace] objectAtIndex:j]]; | |
bodyString = [bodyString stringByReplacingOccurrencesOfString:@":f" withString:@"/f"]; | |
bodyString = [bodyString stringByReplacingOccurrencesOfString:@":i" withString:@"/i"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment