User Tools

Site Tools


pt:countx

Differences

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

Link to this comparison view

pt:countx [2016/01/01 22:47]
pt:countx [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== Countx =====
 +
 +==== Formato ====
 +**countx** ( //haystack// , //regex// )
 +
 +==== Description ====
 +Semelhante à função //count// .A função //countx// Permite que se ignorem distinções maiúscula/minúscula só em certos casos. 
 +
 +
 +==== Exemplo ====
 +<code>
 +print countx("Hello", "[hH]")
 +print countx("Buffalo buffalo buffalo.","[Bb]uffalo")
 +</code>
 +will display
 +<code>
 +1
 +3
 +</code>
 +
 +==== Introduzido na versão ==== 
 +0.9.6.56
  
pt/countx.txt · Last modified: 2020/02/28 10:46 (external edit)