Finding the Position of a Substring with strpos() : strpos : String PHP Source Code
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PHP Source Code
»
String
»
strpos
»
Finding the Position of a Substring with strpos()
<?
$membership =
"mz00xyz"
;
if
(
strpos
(
$membership,
"mz"
)
===
0
)
print
"hello mz"
;
?>
HTML code for linking to this page:
Related in same category :
strpos demo
PHP Function Reference -> Users Code Examples / Notes - > strpos:
iconv_strpos
mb_strpos
strpos
PHP Source Code
String
»
strpos
New Line
Replace
strcspn
String Case
String Compare
String Contains
String Count
String Escape
String Find
String Length
String Matches
String Operators
String Pad
String Repeat
String Replace
String Split
String Token
String Trim Chop
strpos
Sub string
Chart
Class
COM and .Net (Windows)
Components
Cookie Session
Data Structure
Databases
Design Patterns
Development
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
String
Web Services SOAP WSDL
XML