i am using this code but it returns me the name of the image name with the url

```
IWebElement element = driver.FindElement(By.XPath("Your xpath"));
string path = element.GetAttribute("src");

```

result:

```
http://nameofthehost/imagename.jpg

```

what i would like is just to spit me the src name, how would i do that?