in reply to Returning a value from a sub routine
your return would be 'bob' If that final line had no value in the first position you would return nothing, like this:Field1 Field2 Field3 bill smith 32 bob jones 43
this would return '' in '$sqltoday'; Note, this is just a guess since I do not know your data setup. -ChadField1 Field2 Field3 bill smith 32 jones 43
|
|---|