On Fri, Jan 29, 2010 at 11:32 AM, Jason King <[email protected]> wrote:

> so stateETC = MO
> - Will listfirst(stateETC, " ")> still work? There's no space at the end.
> So would it just grab the whole string? which would be 'MO'?
>


Yes.


>
> About the format.
>
> Users will be asked to enter a location like "City, STATE or ZIP aka 'St.
> Louis, MO' or '62221'
>

You might consider leveraging some regular expressions to make sure it
matches one of these two patterns.

-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca/Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to