instr(str,chr(0))<=0是什么意思啊?
来源:百度知道 编辑:UC知道 时间:2024/05/20 13:24:04
Chr(charcode) 返回与指定的 ASCII 字符代码相对应的字符
从 0 到 31 的数字表示标准的不可打印的 ASCII 代码
通过查ASCII码表知
0 = NULL(空)
InStr([start, ]string1, string2[, compare])返回某字符串在另一字符串中第一次出现的位置
如果 InStr 返回
string1 为零长度:InStr 返回 0
string1 为 Null:InStr 返回 Null
string2 为零长度:InStr 返回 start
string2 为 Null:InStr 返回 Null
string2 没有找到:InStr 返回 0
在 string1 中找到 string2 :InStr 返回找到匹配字符串的位置
start > Len(string2):InStr 返回 0
由以上推测,我觉得是说这个字符串中不含NULL
instr(str,chr(0))<=0是什么意思啊?
S=Left(S,InStr(S,Chr(0))-1) 是什么意思
VB中(InStr(Str(i), "5") = 0)是什么意思
pos1 = InStr(pos2, LCase(pageStr), Chr(32) & "href=", 1)
Chr(0)是什么意思?
请教:chr(13) , str =str&"2."&i 这两处怎么解释,是什么意思?拜托了!!1
VB语言里,chr$(0)表示什么意思?它与chr(0)有区别吗?
if instr(rcid,",")>0什么意思?
if instr(userid,"'")<>0 or instr(password,"'")<>0 then
设staic char str[]="abc\0def";则strlen(str)=?