What function cuts selected parts from a string?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

What function cuts selected parts from a string?

Post by impulse() »

For example if I tried to insert 'Male' into a MySQL DB but I wanted to cut 'ale' from 'Male' leaving 'M'. I've come across it within the last few days but I didn't make any use of it to remember the function.

Regards, Stephen
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply