2
Answers

C# 2010 string

Photo of scampercat

scampercat

13y
1.7k
1
In a C# 2010 application, I have a string value that looks like the following:

"http://localhost:99/test/TestHome.aspx". I only want to obtain the part of the string that is "TestHome.aspx".

I have tried lots of string functions to obtain the "TestHome.aspx" part of the string with no success yet.

Thus can you tell me how to obtain the part of the string I am trying to access?

Answers (2)