
Merge, Request.QueryString
Nice Magnus.
However if you choose /replace/, this is better habit.
x=replace(x,vbcrlf,"<br>")
(instead of)
x=replace(x,chr(13),"<br>")
Because, in the second case, your result still have chr(10) as trash. In
simple scenario, it will not make no trouble. However the chr(10) is unix
new line, or in universal sense, new line itself. In retrieving the result,
or something, there can be unpredictable behavior.
--
Han Pohwan, Seoul/Korea, Microsoft MVP
Quote:
> Hi again!
> This works just like I wish.
> Thanks a lot!
> /Magnus
> > Magnus
> > x=a+vbcrlf+b
> > Success depends on your database. Also if you want to show the data in
> html
> > later, the success depends on the kind of your element. e.g. /body/ or
> > /textarea/ behaves differently for new line.
> > --
> > Han Pohwan, Seoul/Korea, Microsoft MVP
> > > Hello !
> > > Need some help here!
> > > I need to merge two Request.QueryString into one. Like this
> > > Dim varOne, varTwo, varThree
> > > varTwo = Request.QueryString("besk1")
> > > varThree = Request.QueryString("besk2")
> > > varOne = beskin + casein
> > > I'm going to put this (varOne) into a databas. But want it like this
> with
> > a
> > > "new line" between the sentences.
> > > Sentence (varTwo)
> > > Sentence(varThree)
> > > Thanks!
> > > Magnus