Re: URGENT !!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

<?php
$str1 ='Kühn';
echo "<br />hello ü World :) The character ü is same";
$search = array( 'ü' );
$rep = array( 'ü' );
$str2 = str_ireplace( $search , $rep ,$str1) ;
echo $str2;
?>

Have added some codes more ... The character which you use for replacement is considered same. May be a bug . Dont know ...

Hari K T

http://www.harikt.com/
http://ijust4u.blogspot.com/


--- On Fri, 6/2/09, sourav ghosh <sghosh246@xxxxxxxxx> wrote:
From: sourav ghosh <sghosh246@xxxxxxxxx>
Subject:  URGENT !!!
To: php-objects@xxxxxxxxxxxxxxx
Date: Friday, 6 February, 2009, 12:20 PM











    
            Hi,

when I am executing the script it's not giving desired result.

<?

$str1 ='Kühn';

$str2 =  str_replace( 'ü','ü',$str1) ;

echo $str2;

?>

Current Output : Kühn

Expected Output : Kühn



Please provide solution urgently.



[Non-text portions of this message have been removed]




 

      

    

           
  
    
	
	 
	
	








	


	
	


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux