亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频



Value 屬性

返回在一個(gè)搜索字符串中找到的匹配的值或文本。

object.Value

object 參數(shù)總是一個(gè) Match 對(duì)象。

說(shuō)明

下列代碼說(shuō)明了 Value 屬性的用法:

Function RegExpTest(patrn, strng)
Dim regEx, Match, Matches         ' 建立變量。
 Set regEx =New RegExp         ' 建立正則表達(dá)式。
 regEx.Pattern =patrn         ' 設(shè)置模式。
 regEx.IgnoreCase =True         ' 設(shè)置是否區(qū)分字母的大小寫。
 regEx.Global =True            ' 設(shè)置全程可用性。
 Set Matches =regEx.Execute(strng)      ' 執(zhí)行搜索。
 For Each Match in Matches         ' 遍歷Matches集合。
 RetStr =RetStr & "Match " & I & " found at position " RetStr =RetStr & Match.FirstIndex & ". Match Value is "' RetStr =RetStr & Match.Value & "'." & vbCRLF Next RegExpTest =RetStrEnd FunctionMsgBox(RegExpTest("is.", "IS1 is2 IS3 is4"))

要求

版本 1

請(qǐng)參閱

FirstIndex 屬性 | Length 屬性

應(yīng)用于: Match 對(duì)象

返回首頁(yè)