Question: I have a one String in classic asp.

```
Dim str 
str = "http://stackoverflow.com/questions/ask/code-classic-asp-in-linux"

```

In above string, I want text after "code" by using split() in Classic asp.

Result should be: **"-classic-asp-in-linux"**

Answer: 
```
Dim str, arrSplitted, tmp
str = "http://stackoverflow.com/questions/ask/code-classic-asp-in-linux"
tmp = split(str, "code")
Response.Write(tmp(UBound(tmp))) 'return the last element of the array. 

```

Also you can use Response.Write(split(str, "code")(UBound(split(str, "code")))) but the split is executed twice, that is why used 'tmp' variable.
As an alternative.
If your URL scheme is fixed, then you can simply replace the fixed part to nothing.

```
Dim str 
str = "http://stackoverflow.com/questions/ask/code-classic-asp-in-linux"
str = Replace(str,"http://stackoverflow.com/questions/ask/code-","")
Response.write str

```