User Tools

Site Tools


uphp:functions:strtolower

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
uphp:functions:strtolower [2017/05/26 15:37]
jeff created
uphp:functions:strtolower [2021/09/13 05:57] (current)
Line 11: Line 11:
 <span style="color:black">strtolower ( <span style="color:black">strtolower (
 <span style="color:green">string <span style="color:green">string
-<span style="color:blue">$str+<span style="color:blue">$input
 <span style="color:black">) <span style="color:black">)
 </html></well> </html></well>
  
-This function converts all alphabetic characters in <html><b><span style="color:blue">str<span style="color:black"></b></html> to lowercase+This function converts all alphabetic characters in <html><b><span style="color:blue">input<span style="color:black"></b></html> to lowercase
  
 ====Parameter==== ====Parameter====
  
-<html><b><span style="color:blue">$str<span style="color:black"></b>:  The input <b><span style="color:green">string<span style="color:black"></b></html>+<html><b><span style="color:blue">$input<span style="color:black"></b>:  The input <b><span style="color:green">string<span style="color:black"></b></html>
  
 ====Return Values==== ====Return Values====
  
-Lowercase <html><b><span style="color:green">string<span style="color:black"></b></html>+lowercase <html><b><span style="color:green">string<span style="color:black"></b></html>
  
 ====Example==== ====Example====
Line 31: Line 31:
   $str="Mary Had A Little Lamb and She LOVED It So";   $str="Mary Had A Little Lamb and She LOVED It So";
   $str=strtolower($str);   $str=strtolower($str);
-  print $str; // Prints "mary had a little lamb and she loved it so"+  print($str); // Prints "mary had a little lamb and she loved it so"
 ?> ?>
 </code> </code>
Line 47: Line 47:
 [[strtoupper()]] - Return the UPPERCASE version of a <html><b><span style="color:green">string</b></html> [[strtoupper()]] - Return the UPPERCASE version of a <html><b><span style="color:green">string</b></html>
  
-[[substr()]] - Return a sub-string of the passed str from start for len characters. If len is blank it will return the string until the end.+[[substr()]] - Return part of <html><b><span style="color:green">string</b></html>
  
-[[ucfirst()]] - Convert a <html><b><span style="color:green">string<span style="color:black"></b></html> to lowercase except for the first character of each word+[[ucfirst()]] - Convert a <html><b><span style="color:green">string<span style="color:black"></b></html> to lowercase except for the first character
  
uphp/functions/strtolower.1495813063.txt.gz · Last modified: 2021/09/13 05:56 (external edit)