It is Bip Bip Bipool

February 13, 2008

strpos vs strrpos

Filed under: Php, Programming — bipool @ 16:24

In php, today i found that ‘strpos’  return the first occurrence of the looking string in the full string and ‘strrpos’ should do the last occurrence . But it is not looking last occurrence string , looking last occurrence character. Why this ? :S

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Banana Smoothie. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.