Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> if string w stringu
Indianin
post
Post #1





Grupa: Zarejestrowani
Postów: 247
Pomógł: 0
Dołączył: 19.04.2003
Skąd: Hamburg / Darlowo

Ostrzeżenie: (0%)
-----


Jaka funkcja sprawdzic czy w stringu znajduje inny string .
Cos w rodzaju : if (funkcja($url,"http") { ...
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
crash
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 196
Pomógł: 2
Dołączył: 17.01.2004
Skąd: Sosnowiec

Ostrzeżenie: (0%)
-----


Cytat(Manual)
Notatka: If you only want to determine if a particular needle occurs within haystack , use the faster and less memory intensive function strpos" title="Zobacz w manualu PHP" target="_manual() instead.

Oczywiście z użyciem operatora ===.

Ten post edytował crashu 16.06.2005, 09:26:45
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 17.10.2025 - 02:08