Re: string qeustion

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

 



Hi,

Do the following

$AreaNumber="20124aa54";
$arr2 = str_split($AreaNumber, 3);
$withslash = implode("/", $arr2);

echo "withslash=$withslash";

Regards,
Remy

On Dec 6, 2007 12:31 PM, SaEeDoS <saeedos@xxxxxxxxx> wrote:

>   Hi all ,
> i have this variable : $AreaNumber="20124aa54";
> i want to insert " slash / " between them .
> i.e "201/24a/a54"
> how can i make it ?
> thanks
>
>  
>



-- 
With Warm Regards,
Remy
C: 00971504581878

"Many people will walk in and out of your life,
but only true friends will leave footprints in your heart.
To handle yourself, use your head;
To handle others, use your heart."


[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