Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The following doesnt work for some reason and it's really hurting my brains.
- The variables contents are:
- ===========================
- myString = <script src="/mint/?js" type="text/javascript">
- matchedString = ?js"
- I'm finding the range:
- ======================
- NSRange matchRange = [[myString string] rangeOfString:matchedString options:NSLiteralSearch];
- The output is as follows:
- =========================
- matchRange.location = 0.000000;
- matchRange.length = 0.000000;
Add Comment
Please, Sign In to add comment