---
title: "Lägga till före och efter titel (txt fil)"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/97378-lägga-till-före-och-efter-titel-txt-fil"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "znyder"
published: "2004-02-15T19:53:09.000Z"
updated: "2004-02-15T19:56:33.000Z"
replies: 1
views: 226
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/97378-lägga-till-före-och-efter-titel-txt-fil"
---

# Lägga till före och efter titel (txt fil)

## #1 — znyder, 2004-02-15T19:53Z



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

## #2 — Sebbe, 2004-02-15T19:56Z

```
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objTS = objFSO.OpenTextFile(Server.MapPath("namn.txt"))
arrNamn = Split(objTS.ReadAll, vbCrLf)
objTS.Close : Set objTS = Nothing
Set objFSO = Nothing

Response.Write("<ul>" & vbCrLf)

For i = 0 To UBound(arrNamn)
  Response.Write("  <li>" & arrNamn(i) & "</li>" & vbCrLf)
Next

Response.Write("</ul>")
```

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/97378-lägga-till-före-och-efter-titel-txt-fil
