2
Answers

C# 2010 string

Ask a question
scampercat

scampercat

12y
1.4k
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)