Click to See Complete Forum and Search --> : Crlf to <br>, is ther a functions


Emile
04-20-2001, 04:25 AM
Hi,

Is there a function or has someone a funcion to convert VB crlf to <BR>?

Greetings,


Emile

Todd
04-20-2001, 08:31 AM
"Emile" <evip@dds.nl> wrote:
>
>Hi,
>
>Is there a function or has someone a funcion to convert VB crlf to <BR>?
>
>Greetings,
>
>
>Emile

Try the replace function:
strTmp = Replace(strTmp, chr(10), "<BR")

Kurt
04-20-2001, 08:17 PM
Probably better to do:

strTmp = Replace(strTmp, vbCrLf, "<BR>")

VBScript & VB has built in constants. Some of them are:
vbLf
vbCr
vbCrLf
vbNewLine
vbSpace

and some others..

Kurt

"Todd" <tshea@pioneersoft.com> wrote:
>
>"Emile" <evip@dds.nl> wrote:
>>
>>Hi,
>>
>>Is there a function or has someone a funcion to convert VB crlf to <BR>?
>>
>>Greetings,
>>
>>
>>Emile
>
>Try the replace function:
>strTmp = Replace(strTmp, chr(10), "<BR")