How to filter a value?
#1


I'd like to know how to filter a value for my birth date system.

1st : A player would enter in a command or whatever some text.
2nd : I'd like to make sure he's using the good format (dd/mm/yyyy)
3rd : Then, I would separate them, removing all the slashes ( / ) into 3 different values

My problem comes after I get the text entered by the player. I don't know what to do for steps 2 and 3.

Thanks for helping!
Reply


Messages In This Thread
How to filter a value? - by x-cutter - 02.01.2010, 21:47
Re: How to filter a value? - by Nero_3D - 02.01.2010, 23:33
Re: How to filter a value? - by x-cutter - 02.01.2010, 23:56
Re: How to filter a value? - by Nero_3D - 03.01.2010, 00:07
Re: How to filter a value? - by x-cutter - 03.01.2010, 00:28
Re: How to filter a value? - by x-cutter - 03.01.2010, 00:45
Re: How to filter a value? - by Nero_3D - 03.01.2010, 01:35

Forum Jump:


Users browsing this thread: 1 Guest(s)