0

i want use c# for get php web page and browse it For Looking for a badge character in this for example:

var paths = {'root':'../../../../images/uploaded/', 'root_title':'Root Folder'};

i want browse php source code for "var paths" line. and split this.

which method in c# can helo me for this! tnx for answer me.

  • 1
    [How to parse strings using String.Split (C# Guide)](https://learn.microsoft.com/en-us/dotnet/csharp/how-to/parse-strings-using-split) – Luuk Dec 22 '19 at 09:47
  • Does this answer your question? [C# Splitting Strings?](https://stackoverflow.com/questions/7559121/c-sharp-splitting-strings) – panoskarajohn Dec 22 '19 at 11:12
  • no this is not answer to my question i want looking for a tag or char in php source page – Antony Born Dec 22 '19 at 11:39
  • If you are not the owner of the php code you wont be able to parse it since the server will only deliver html and javascript code to you – Daniel Dec 22 '19 at 11:55
  • i send a request and get webpage source code but i want get var paths = {'root':'../../../../images/uploaded/', 'root_title':'Root Folder'}; this line code – Antony Born Dec 22 '19 at 22:22

0 Answers0