Forgive all the questions however now I've stumbled accross another problem that has 
me baffled.

In the search routine I am working on I have a variable

$search_str = $x->param('search_str')

Now the user inputes this string after either choosing from a select statement of 
EmailName or an Account Number. If it is an account number I need to have something 
check search_str to see if it is at least 6 numbers long and if not pad 0's to the 
front of the account number until it is (IE 1616 would be 001616), what I'm confused 
about is how I would do it. 

$search_str = &padacctno($search_str)

If anyone can offer any insight I'd appreciate it.

Thanks 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to