Finding a position substring in a string SQLite

Posted on 2009-04-22
Last Modified: 2012-05-06
I am trying to find find string in a string.

substring(replace(replace(name,'from',' '),'New Resource', ''), POSITION(' ' ,name))
Question by:stumm22
    1 Comment
    LVL 28

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This article describes some very basic things about SQL Server filegroups.
    APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now