GSAK (Geocaching Swiss Army Knife)

Contents - Index

RegExCount (function)

RegExCount(sExpression, sData) : Number

This function will return the number of times the regular expression sExpression is found in sData
Set $count = RegExCount("dog","Dogs are dogmatic about doing it doggy style") would set $count to 3
Note: the regular expression engine has been set to ignore case .

Alpha List         Category List

Copyright 2004-2011 CWE Computer Services  
Privacy Policy Contact