Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7248
  • Last Modified:

Finding a position substring in a string SQLite

I am trying to find find string in a string.

substring(replace(replace(name,'from',' '),'New Resource', ''), POSITION(' ' ,name))
1 Solution
Bill BachPresidentCommented:
There is a POSITION() function supported by most SQL engines, but this is not in the standard SQLite code base.  To get this addressed, go to:
Apply the last element here (extension-functions.c).  This includes a function called "charindex" which is similar to (but not quite exactly the same as) the Position function.

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now