$a="Raman Kumar";
$b=strpos($a,"r");
echo $a."<br>";
echo $b;
$a="Raman Kumar";
$b=strpos($a, "r");
echo $a."<br>";
echo $b;
$a="Raman Kumar";
$b=strpos($a, "r");
echo $a."<br>";
echo $b;
$a="Mridul";
$x=strlen($a);
for($i=0; $i<=$x; $i=$i+3)
{
echo $a[$i]."<br>";
}
$a="Mridul";
$x=strlen($a);
for($i=0; $i<=$x; $i=$i+3)
{
echo $a[$i]."<br>";
}
$a="Mridul Sharma";
$b=($a[0]);
echo $b." ";
$c=($a[7]);
echo $c." ";
$a="Mridul Sharma";
$b=($a[0]);
echo $b." ";
$c=($a[7]);
echo $c." ";
$a="Mridul Sharma";
$b=substr($a,8,2);
echo $a."<br>";
echo $b;
$a="Mridul Sharma";
$b=substr($a,8,2);
echo $a."<br>";
echo $b;
$a="Mridul Sharma";
$b=substr($a,8,2);
echo $a."<br>";
echo $b;
$a="Mridul Sharma";
$b=susbstr($a,8,2);
echo $a."<br>";
echo $b;
$a="Bombay";
$b=substr($a,2,3);
echo $a."<br>";
echo $b;
$a="Bombay";
$b=substr($a,2,3);
echo $a."<br>";
echo $b;
$a="Bombay";
$b=substr($a,2,3);
echo $a."<br>";
echo $b;
<?php
$a="Computer";
$b=str_replace("Computer", "software", $a);
echo $b;
?>
<?php
$a="Computer";
$b=str_replace("Computer","software",$a);
echo $b;
?>
<?php
$a="Computer";
$b=str_replace("Computer", "software",$a);
echo $b;
?>
<?php
$a="Computer";
$b=strtolower($a);
echo $a." ".$b;
?>
<?php
$a="Computer";
$b=strtolower($a);
echo $a." ".$b;
?>
<?php
$a="Computer";
$b=strtolower($a);
echo $a." ".$b;
?>
<?php
$a="chandigarh";
$b=strtoupper($a);
echo $b." ";
echo $a;
?>
<?php
$a="chandigarh";
$b=strtoupper($a);
echo $b." ";
echo $a;
?>
<?php
$a="chandigarh";
$b=strtoupper($a);
echo $b." ";
echo $a;
?>
<?php
$a="Chandigarh";
$b=substr($a,0,1);
$c=substr($a,1);
$d=strtoupper($b);
$e=strtolower($c);
echo $d. $e;
?>
$a="Chandigarh";
$b=substr($a,0,1);
$c=substr($a,1);
$d=strtoupper($b);
$e=strtolower($c);
echo $d, $e;
?>
$a="Chandigarh";
$b=substr($a,0,1);
$c=substr($a,1)
$d=strtoupper($b);
$e=strtolower($c);
echo $d, $e;
?>
<?php
$a=" I love India";
$b= ltrim($a);
echo $a."<br>";
echo $b;
?>
<?php
$a=" I love India";
$b=ltrim($a);
echo $a."<br>";
echo $b;
?>
<?php
$a=" I love India";
$b=ltrim($a);
echo $a."<br>";
echo $b;
?>
$b=strpos($a,"r");
echo $a."<br>";
echo $b;
$a="Raman Kumar";
$b=strpos($a, "r");
echo $a."<br>";
echo $b;
$a="Raman Kumar";
$b=strpos($a, "r");
echo $a."<br>";
echo $b;
$a="Mridul";
$x=strlen($a);
for($i=0; $i<=$x; $i=$i+3)
{
echo $a[$i]."<br>";
}
$a="Mridul";
$x=strlen($a);
for($i=0; $i<=$x; $i=$i+3)
{
echo $a[$i]."<br>";
}
$a="Mridul Sharma";
$b=($a[0]);
echo $b." ";
$c=($a[7]);
echo $c." ";
$a="Mridul Sharma";
$b=($a[0]);
echo $b." ";
$c=($a[7]);
echo $c." ";
$a="Mridul Sharma";
$b=substr($a,8,2);
echo $a."<br>";
echo $b;
$a="Mridul Sharma";
$b=substr($a,8,2);
echo $a."<br>";
echo $b;
$a="Mridul Sharma";
$b=substr($a,8,2);
echo $a."<br>";
echo $b;
$a="Mridul Sharma";
$b=susbstr($a,8,2);
echo $a."<br>";
echo $b;
$a="Bombay";
$b=substr($a,2,3);
echo $a."<br>";
echo $b;
$a="Bombay";
$b=substr($a,2,3);
echo $a."<br>";
echo $b;
$a="Bombay";
$b=substr($a,2,3);
echo $a."<br>";
echo $b;
<?php
$a="Computer";
$b=str_replace("Computer", "software", $a);
echo $b;
?>
<?php
$a="Computer";
$b=str_replace("Computer","software",$a);
echo $b;
?>
<?php
$a="Computer";
$b=str_replace("Computer", "software",$a);
echo $b;
?>
<?php
$a="Computer";
$b=strtolower($a);
echo $a." ".$b;
?>
<?php
$a="Computer";
$b=strtolower($a);
echo $a." ".$b;
?>
<?php
$a="Computer";
$b=strtolower($a);
echo $a." ".$b;
?>
<?php
$a="chandigarh";
$b=strtoupper($a);
echo $b." ";
echo $a;
?>
<?php
$a="chandigarh";
$b=strtoupper($a);
echo $b." ";
echo $a;
?>
<?php
$a="chandigarh";
$b=strtoupper($a);
echo $b." ";
echo $a;
?>
<?php
$a="Chandigarh";
$b=substr($a,0,1);
$c=substr($a,1);
$d=strtoupper($b);
$e=strtolower($c);
echo $d. $e;
?>
$a="Chandigarh";
$b=substr($a,0,1);
$c=substr($a,1);
$d=strtoupper($b);
$e=strtolower($c);
echo $d, $e;
?>
$a="Chandigarh";
$b=substr($a,0,1);
$c=substr($a,1)
$d=strtoupper($b);
$e=strtolower($c);
echo $d, $e;
?>
<?php
$a=" I love India";
$b= ltrim($a);
echo $a."<br>";
echo $b;
?>
<?php
$a=" I love India";
$b=ltrim($a);
echo $a."<br>";
echo $b;
?>
<?php
$a=" I love India";
$b=ltrim($a);
echo $a."<br>";
echo $b;
?>
No comments:
Post a Comment