varitem = match.SubMatches(1) varitemthis = p_variables_list.Item(varitem)結果的沒有結果ASP REPLACE函數
response.write match.Value &" "& varitemthis &" "&varitem & "<br>"
是
{{name}} rrrr name
{{site_root}} www.site.com/ site_root
{{mail}} [email protected] mail
{{code}} code
結果
p_template = Replace(p_template, match.Value, varitem)
response.write p_template
沒事,但
p_template = Replace(p_template, match.Value, varitemthis)
response.write p_template
什麼......爲什麼?怎麼了?
您需要提高您的問題的可讀性。 – smartcaveman 2011-03-03 18:51:13