我在asp后台使用left函数,提示上下文不存在“left”,left函数不是asp内置函数吗?是我没加某个库吗?

2025-04-07 22:00:07
推荐回答(1个)
回答1:

Left 函数可从字符串的左侧返回指定数目的字符。
Left(string,length)
例如:
dim txt,x
txt="This is a test string!"
x=Len(txt)
response.write(Left(txt,x))