如何从ASP中的字符串中查找特定值

man*_*j82 4 vbscript asp-classic

如何从ASP中的字符串中找到特定值?

dim temp="alpha,bravo,charlie"
Run Code Online (Sandbox Code Playgroud)

我如何找到temp中是否存在'alpha'?

谢谢

NoL*_*ing 5

您可以使用该函数instr来检查字符串.

有关更多说明,请点击此链接:

http://www.w3schools.com/Vbscript/func_instr.asp