String-
A string is a sequence of characters. Here, the example of "Double-Quoted" and "Single-Quoted" string are enclosed here as well as many of the built-in functions of Strings are explained with examples.
Consider the following example -
A string is a sequence of characters. Here, the example of "Double-Quoted" and "Single-Quoted" string are enclosed here as well as many of the built-in functions of Strings are explained with examples.
Consider the following example -
The code of the above page, is as follows -
When I click on "Double-Quoted String", the output is as follows -
The code of the above page is as follows -
When I click on "Single-Quoted String", the output is as follows -
The code of the above page is as follows -
When I click on "Echo", the output is as follows -
The code of the above page is as follows -
When I click on "Print() Function", the output is as follows -
The code of the above page is as follows -
When I click on "Printf() Function", the output is as follows -
The code of the above page is as follows -
When I click on "Print_r", the output is as follows -
The code of the above page is as follows -
When I click on "Var_Dump Function", the output is as follows -
The code of the above page is as follows -
When I click on "Strlen", the output is as follows -
The code of the above page is as follows -
When I click on "Changing Case", the output is as follows -
The code of the above page is as follows -
When I click on "HTML Special Characters", the output is as follows -
The code of the above page is as follows -
When I click on "Strip Tags", the output is as follows -
The code of the above page is as follows -
When I click on "Implode", the output is as follows -
The code of the above page is as follows -
When I click on "Explode", the output is as follows -
The code of the above page is as follows -
When I click on "Exact Comparison", the output is as follows -
The code of the above page is as follows -
When I click on "Sub String", the output is as follows -
The code of the above page is as follows -
When I click on "String Replace", the output is as follows -
The code of the above page is as follows -
When I click on "String Reverse", the output is as follows -
The code of the above page is as follows -
When I click on "String Position", the output is as follows -
The code of the above page is as follows -
When I click on "String Search", the output is as follows -
The code of the above page is as follows -