ASP common functions

xiaoxiao2021-03-06  127

Replace (String, Replace Target, Replacement Text) Replace must be passed to three parameters, which are the strings to search, search for the target, replaced strings, and introduce a common example.

Letter = Replace (Letter, "[IMG]", "
") This stroke code contains the list of [/ IMG] in the Letter variable ">, and inserts the wrap < BR> symbols, merged into standard HTML insert picture grammar,

Another example is to convert a breaking symbol to
Letter = Replace (Letter, VBCRLF, "
") This will convert the user in the form input to the
.

转载请注明原文地址:https://www.9cbs.com/read-125711.html

New Post(0)