| Test() | ใช้กำหนดค่าข้อมูความที่จะถูกค้นหา โดยจะคืนค่า true เมื่อพบข้อความที่ค้นหา |
|---|
method:Test ( string_text )
return type:boolean
content:ใช้กำหนดค่าข้อมูความที่จะถูกค้นหา โดยจะคืนค่า true เมื่อพบข้อความที่ค้นหา
example:Set regexp = New RegExp regexp.Pattern = “blue” if ( regexp.Test ( “Ocean is blue color” ) ) { // }