dbTalk Databases Forums  

Locate Statement - ASA9

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Locate Statement - ASA9 in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roger Peffers
 
Posts: n/a

Default Locate Statement - ASA9 - 09-20-2010 , 05:11 PM






HI,

I have a column containing a string of data off which I want to
extract components of this data out by locating the spaces.

An example of the string is as follows:

99 Toyota AE Corona GLX
01 Mazda XE 323 GTi

I would like to select the word Corona and 323 from the two strings
which is the characters between the 3rd space and the 4th space.

I currently use a very drawn out combinations of multiple substring
and locate commands to achieve this.

Is there and easy command to locate the position of the 3rd space and
4th space which I might be missing?

Thanks

Roger

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.