![]() |
![]() |
--pastor-- |
![]()
Post
#1
|
Goście ![]() |
Witam, chcę sprawdzić czy znak ! znajduje się w zmiennej $tekst. Jakiej funkcji mam użyć??
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 15 467 Pomógł: 1451 Dołączył: 25.04.2005 Skąd: Szczebrzeszyn/Rzeszów ![]() |
Cytat This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE, such as 0 or "". Please read the section on Booleans for more information. Use the === operator for testing the return value of this function. Więc takie sprawdzania strpos()>=0, to sobie można... Najbezpieczniej:
Ten post edytował erix 15.11.2008, 22:47:22 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 14.10.2025 - 15:47 |