Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Index of Char

Author  Topic 

Mazdak
Yak Posting Veteran

63 Posts

Posted - 2004-11-06 : 01:38:01
How can I get the index of charachter in a string field? In SQL it is something like Patindex.What about Access?

Thanks

robvolk
Most Valuable Yak

15732 Posts

Posted - 2004-11-06 : 07:40:27
InStr() will do the trick.
Go to Top of Page

Auric
Yak Posting Veteran

70 Posts

Posted - 2004-11-08 : 15:39:39
does <stringvar>.indexOf('Char') work in access too?
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2004-11-08 : 17:23:49
No.
Go to Top of Page

Auric
Yak Posting Veteran

70 Posts

Posted - 2004-11-08 : 17:45:05
Good to know :)

Too many programming languages floating around inside my head.
Go to Top of Page
   

- Advertisement -