打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
求一字符串中是否包含另一字符串的函数

vb中有个函数instr(),pb中如何办?求一字符串中是否包含另一字符串的函数相关解决方法:1、
求一字符串中是否包含另一字符串的函数推荐解答: 
Description 
Finds one string within another string.
Syntax 
Pos ( string1, string2 {, start } )
Argument Description
string1 The string in which you want to find string2
string2 The string you want to find in string1
start 
(optional) A long indicating where the search will begin in string1. The default is 1
Return value 
Long. Returns a long whose value is the starting position of the first occurrence of 

string2 in string1 after the position specified in start. If string2 is not found in string1 

or if start is not within string1, Pos returns 0. If any argument’s value is NULL, Pos returns NULL.
Usage 
The Pos function is case sensitive2、
求一字符串中是否包含另一字符串的函数推荐解答: 
用pos函数。
If pos(str1,str2)>0 str1中包含str2
否则<=03、
yes
用pos函数,请参考帮助!4、
使用pos函数,挺好用的,可以找到包含本人们经常使用



本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
java用substring函数截取string中一段字符串
请用代码写一个算法测试回环字符串函数
字符串搜索算法小结(转)
如何将字符串转换为相应的整型
截取中文字符串的函数
VBScript InStrRev 函数
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服