$countcs » History » Revision 2
Revision 1 (Per Amundsen, 07/13/2014 04:42 AM) → Revision 2/5 (Per Amundsen, 08/12/2015 09:36 AM)
_Added in 1.8.10_ *$countcs(string,substring,substring2,...,substringN)* Returns the number of times substring occurs in string. _[[$countcs]] is Searches case-sensitive, see use [[$count]] for case-insensitive version._ searches. *Parameters* string - The string to search for. substring,substring2,...,substringN - Substrings to search. *Example* <pre> ;returns 1 //echo -ag $countcs(Aaa,A) $count(Aaa,A) ;returns 2 //echo -ag $countcs(Aaa,a) $count(Aaa,a) </pre>