Computing.Net > Forums > Database > Count characters to first space

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Count characters to first space

Reply to Message Icon

Name: AndrewD
Date: September 9, 2009 at 03:36:29 Pacific
OS: Vista Home Premium
CPU/Ram: Intel Dual Core 3Gb
Product: Dell / Xps 210
Subcategory: General
Comment:

I have a table of postcodes in an access 2007 database and I need to isolate the first part of the postcode. Does anyone here know how I can calculate the number of characters before the first space (or the position of the space itself)

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: AndrewD
Date: September 9, 2009 at 03:46:52 Pacific
Reply:

For those who may be interested I used the INSTR function which identifies the position of the first space:

InStr([Postcode]," ")


0
Reply to Message Icon

Related Posts

See More


Database and Software as ... Talend Integration Suite ...


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Count characters to first space

Any better choice to filemaker? www.computing.net/answers/dbase/any-better-choice-to-filemaker/147.html

using administrator to reset psswrd www.computing.net/answers/dbase/using-administrator-to-reset-psswrd/432.html

Run-Time error '3141' www.computing.net/answers/dbase/runtime-error-3141/252.html