מדריך
PHP
קודם
הבא
substr_count
substr_count -- Count the number of substring occurrences
Description
int
substr_count
( string haystack, string needle)
דוגמה
1
.
substr_count(
)
example
print
substr_count(
"This
is
a
test"
,
"is")
;
/
/
prints
out
2
קודם
ראשי
הבא
substr
למעלה