Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8163587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:05:51+00:00 2026-06-06T19:05:51+00:00

The data returned when i send a request with NSURLconnection contains script like this

  • 0

The data returned when i send a request with NSURLconnection contains script like this

<script>
var baseURL = "main.aspx?";
var lang = 1;
lg(0,8375,"AFC U-22 Championship Qualifirs","http://images.goalzz.com/i.aspx?i=competitions%2fafc_small_icon.gif");
mc(0,752017,1,"","11:45®<br><nobr>&nbsp;<font color=yellow>playing",1298,"","Malaysia","","",2163,"","Myanmar","","<font color=#427384>Week: 5<br>","",0);
mc(0,752021,2,"","12:00®<br><nobr>&nbsp;<font color=yellow>playing",7849,"","Laos","","",2158,"","Cambodia","","<font color=#427384>Week: 5<br>","",0);
mc(0,752022,3,"","12:00®<br><nobr>&nbsp;<font color=yellow>playing",479,"","Bahrain","","",1574,"","Iran","","<font color=#427384>Week: 5<br>","",0);
lg(6,8048,"Wimbledon - Men","http://images.goalzz.com/i.aspx?i=tennis%2ftennis_small.gif");
mc(6,754074,4,"","10:30®<br><nobr><font color=yellow>2nd Set",274,"","Brian Baker  - <font size=-1 color=black>United States</font>","","<font color=blue>1&nbsp;:&nbsp;1</font>",110,"","<font size=-1 color=orange>(27) </font>Philipp Kohlschreiber  - <font size=-1 color=black>Germany</font>","","<font color=red>Round 4<br>","",0);
mc(6,754076,5,"","10:30®<br><nobr><font color=yellow>2nd Set",342,"","<font size=-1 color=orange>(5) </font>Jo-Wilfried Tsonga  - <font size=-1 color=black>France</font>","","<font color=blue>0&nbsp;:&nbsp;1</font>",282,"","<font size=-1 color=orange>(10) </font>Mardy Fish  - <font size=-1 color=black>United States</font>","","<font color=red>Round 4<br>","",0);
mc(6,753844,6,"","10:30®<br><nobr><font color=yellow>3rd Set",5,"","<font size=-1 color=orange>(18) </font>Richard Gasquet  - <font size=-1 color=black>France</font>","","<font color=blue>1&nbsp;:&nbsp;2</font>",86,"","<font size=-1 color=orange>(31) </font>Florian Mayer  - <font size=-1 color=black>Germany</font>","","<font color=red>Round 4<br>","",0);
mc(6,754075,7,"","11:00®<br><nobr><font color=yellow>2nd Set",107,"","<font size=-1 color=orange>(7) </font>David Ferrer  - <font size=-1 color=black>Spain</font>","","<font color=blue>1&nbsp;:&nbsp;1</font>",669,"","<font size=-1 color=orange>(9) </font>Juan Martin Del Potro  - <font size=-1 color=black>Argentina</font>","","<font color=red>Round 4<br>","",0);
mc(6,754092,8,"","11:00®<br><nobr><font color=yellow>3rd Set",675,"","<font size=-1 color=orange>(16) </font>Marin Cilic  - <font size=-1 color=black>Croatia</font>","","<font color=blue>0&nbsp;:&nbsp;2</font>",16,"","<font size=-1 color=orange>(4) </font>Andy Murray  - <font size=-1 color=black>United Kingdom</font>","","<font color=red>Round 4<br>","",0);
</script>

i want to extract the (AFC U-22 Championship Qualifirs) text in lg node and (Malaysia,Myanmar) in mc node.is this possible ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:05:53+00:00Added an answer on June 6, 2026 at 7:05 pm

    You need to do String Search in this.This link will help you to achieve this. You can follow these steps.

    1. Search for “lg(” in your text data you have received from connection.
    2. Then Search for second appearance of comma “,” and extract all character from next position till it does not get double quote ” ” “.
    3. Then move your index and Search for “mc(” in the text.
    4. Now search for 7th appearance of the comma “,” and extract all character from next position till it does not get double quote “””.

    Now you can get both the strings.

    Good Luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to send an array as part of an ajax request like this:
Here is my data returned from a CMS function: array ( 0 => stdClass::__set_state(array(
I have some array data returned from an ajax call consisting of an image
I'm having some issues with the data returned by CNCopyCurrentNetworkInfo and was wondering if
I'm trying to parse some data returned by a 3rd party app (a TSV
i'm trying to filter the $routeParams of the data returned from the json file.
I select data from several tables. Then i need to edit the data returned
How can I get the size in bytes of the data returned from the
I am using mybatis to retrieve data from DB, the data returned is containing
I want to call a web page from Flash and use the data returned

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.