scampercat

scampercat

  • NA
  • 189
  • 0

C# 2010 string

Jun 21 2012 6:08 PM
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)