First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$Name = "McDougall";
|
||||
|
||||
$Name = ucwords(strtolower($Name));
|
||||
if (strpos($Name,"Mc") === 0) $Name[2] = strtoupper($Name[2]);
|
||||
|
||||
echo("$Name\n\n");
|
||||
|
||||
$Name = strtolower($Name);
|
||||
|
||||
if ($Name == strtolower($Name)) echo("All lowercase\n\n");
|
||||
if ($Name == strtoupper($Name)) echo("All uppercase\n\n");
|
||||
echo("$Name\n\n");
|
||||
?>
|
||||
Reference in new issue
Block a user