User Tools

Site Tools


el:countx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

el:countx [2016/01/01 22:38]
el:countx [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== Countx =====
 +
 +==== Format ====
 +**countx** ( //haystack// , //regex// )
 +
 +==== Description ====
 +Return the count of the regular expression //regex// in the string //haystack//.
 +
 +
 +==== Example ====
 +<code>
 +print countx("Hello", "[hH]")
 +print countx("Buffalo buffalo buffalo.","[Bb]uffalo")
 +</code>
 +will display
 +<code>
 +1
 +3
 +</code>
 +
 +==== New to Version ==== 
 +0.9.6.56
  
el/countx.txt ยท Last modified: 2020/02/28 10:46 (external edit)