---
title: "sträng -> \"path_info\""
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/11383-sträng-path-info"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "Eclipse"
published: "2001-08-30T08:02:00.000Z"
updated: "2001-08-30T08:23:00.000Z"
replies: 1
views: 171
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/11383-sträng-path-info"
---

# sträng -> "path_info"

## #1 — Eclipse, 2001-08-30T08:02Z

```
myPath  = request.serverVariables("path_info")
myPathX = myPath
myPathX = split(myPathX, "/")
myPath1 = myPathX(uBound(myPathX)-1)
'response.write "<BR><B>" & myPath & "</B>"
```

Av */www/products/index.asp* får jag ut **products**. Vid närmare eftertanke skulle jag nog villja få ut */www/products/* i stället.

Permalänk: https://www.webforum.nu/p/11383

## #2 — LarsG, 2001-08-30T08:23Z

```
myPath = request.serverVariables("path_info")
mypath = mid(mypath,1,instrrev(mypath,"/"))
```

Permalänk: https://www.webforum.nu/p/285210

---

Tråden på webben: https://www.webforum.nu/amne/asp/11383-sträng-path-info
