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

Theme: Banana Smoothie. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.