I would like to create a script that reads a file name that follows a
specific format and have it parsed into 2 variables.  The format is as
follows:

cli_info-ACCOUNT-USERNAME.dat

The two variables that I would like to get out of this are the ACCOUNT and
USERNAME.  The rest of the information can be discarded.  I can get the
entire filename into a variable, but I am not sure how to parse it properly.

Any assistance would be appreciated.

Thanks,
Jason



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to