Jump to content

Archived

This topic is now archived and is closed to further replies.

greenba

Parse string

Recommended Posts

Hi,

I have the following string: "01.02.03"

what I need is to parse it so I can have that
$s1 = 01
$s2 = 02
$s3 = 03

Adnan

Share this post


Link to post
Share on other sites
http://ca.php.net/manual/en/function.explode.php

explode() is your friend.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.