strip data

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
useradmn
Forum Newbie
Posts: 2
Joined: Mon Sep 08, 2008 5:04 pm

strip data

Post by useradmn »

hi everyone. im a newbie to the site and have a question:

does anyone know how to take data from a form and use only a certain portion of it.

Example, lets say someone enters 19 characters: "9885746234567891234" but I only want to use a certain portion of that. Lets say I only want to use "623456789" which is from the original string. So to sum it up, I want to skip the first six characters, use the next nine characters, and skip the last 4 characters.


Any help is greatly appreciated!


-Daniel
marcth
Forum Contributor
Posts: 142
Joined: Mon Aug 25, 2008 8:16 am

Re: strip data

Post by marcth »

Duplicate Post of: viewtopic.php?f=1&t=87886
Post Reply