function jianleftright(a)'减去左右的","字符
if left(a,1)="," then
jianleftright=right(a,len(a)-1)
end if
if right(jianleftright,1)="," then
jianleftright=left(jianleftright,len(jianleftright)-1)
end if
end function
function jianleftright(a,b)'减去左右的","字符
if left(a,1)=b then
jianleftright=right(a,len(a)-1)
end if
if right(jianleftright,1)=b then
jianleftright=left(jianleftright,len(jianleftright)-1)
end if
end function
ASP去掉字符串中的头尾字符
最新推荐文章于 2024-07-13 13:55:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)