mid and left functions in php?
Posted: Wed Jul 17, 2002 3:52 am
Hi
What is the php functions for retrieving for instance the first 4 characters of a string, or the 5th and 6th, etc. In ASP you use "mid" and "left" to obtain this, but I can't find these in the php manual. Also what about a function to check if a certain character exists in a string (in ASP it's "instr").
Thanks
What is the php functions for retrieving for instance the first 4 characters of a string, or the 5th and 6th, etc. In ASP you use "mid" and "left" to obtain this, but I can't find these in the php manual. Also what about a function to check if a certain character exists in a string (in ASP it's "instr").
Thanks