---
title: "Hur gjorde man..."
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/46742-hur-gjorde-man"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "sin_adec"
published: "2002-06-27T11:19:57.000Z"
updated: "2002-06-27T12:08:14.000Z"
replies: 6
views: 213
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/46742-hur-gjorde-man"
---

# Hur gjorde man...

## #1 — sin_adec, 2002-06-27T11:19Z

hur var det men gjorde...

\[link\] <https://www.webforum.nu> \[/link\]

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

## #2 — OveRRidE, 2002-06-27T11:21Z

Va? :q

Om det är \-taggen du funderar på så finns det hänvisningar till dessa [här](http://www.webforum.nu/misc.php?action=bbcode#buttons) och i vänsterkanten ovanför, när du skriver ditt inlägg.. eller förstod jag fel?

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

## #3 — sin_adec, 2002-06-27T11:23Z

Men hur ser koden ut... om man vill göra så där...

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

## #4 — skyman, 2002-06-27T11:26Z

Sök på forumkod i asp.

( <http://www.webforum.nu/search.php?s=&action=showresults&searchid=58962&sortby=&sortorder=> )

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

## #5 — sin_adec, 2002-06-27T11:38Z

```
<%
strPress = Trim(Ucase(Recset("beskrivning")))
strPress = Replace (strPress,vbCrLf,"<br>")
strPress = Replace(strPress,"[fet]","<B>")
strPress = Replace(strPress,"[/fet]","</B>")
strPress = Replace(strPress,"","<u>")
strPress = Replace(strPress,"","</u>")
strPress = Replace(strPress,"","<i>")
strPress = Replace(strPress,"","</i>")

strPress = Replace(strPress,"[vit]","<font color=""#ffffff"">")
strPress = Replace(strPress,"[/vit]","</font>")
strPress = Replace(strPress,"[blå]","<font color=""#0000FF"">")
strPress = Replace(strPress,"[/blå]","</font>")
strPress = Replace(strPress,"[gul]","<font color=""#FFFF00"">")
strPress = Replace(strPress,"[/gul]","</font>")
strPress = Replace(strPress,"[röd]","<font color=""#FF0000"">")
strPress = Replace(strPress,"[/röd]","</font>")
strPress = Replace(strPress,"[orange]","<font color=""#FF9933"">")
strPress = Replace(strPress,"[/orange]","</font>")
strPress = Replace(strPress,"[grön]","<font color=""#00CC00"">")
strPress = Replace(strPress,"[/grön]","</font>")
strPress = Replace(strPress,"[grå]","<font color=""#999999"">")
strPress = Replace(strPress,"[/grå]","</font>")
strPress = Replace(strPress,"[rosa]","<font color=""#FF6699"">")
strPress = Replace(strPress,"[/rosa]","</font>")
strPress = Replace(strPress,"[lila]","<font color=""#660066"">")
strPress = Replace(strPress,"[/lila]","</font>")
strPress = Replace(strPress,"[ljusblå]","<font color=""#CCCCFF"">")
strPress = Replace(strPress,"[/ljusblå]","</font>")

Response.Write strPress
%>
```

varför funkar den inte..

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

## #6 — sin_adec, 2002-06-27T11:42Z

När jag använde:

```
strPress = Trim(Ucase(Recset("beskrivning")))
```

Så funkar det inte...

men när jag byter ut det med:

```
strPress = Trim(Recset("beskrivning"))
```

så¨funkar det--

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

## #7 — skyman, 2002-06-27T12:08Z

Varför skall du ha i stora bokstäver?
 :q -\>
strPress = Replace(strPress,"","\<u\>")
strPress = Replace(strPress,"","\</u\>")
strPress = Replace(strPress,"","\<i\>")
strPress = Replace(strPress,"","\</i\>")

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/46742-hur-gjorde-man
