Skip to content

SUBSTRING bug #854

Open
Open

Description

@peon501

substring should work like this
SUBSTRING(Description,0,120)
,but it works from 1
SUBSTRING(Description,1,120).
(I am using indexeddb database)

Activity

  1. mathiasrw commented on Apr 4, 2017

    @mathiasrw
    Member

    The numbering is 1 based, meaning that the first character in the expression is 1

    According to https://docs.microsoft.com/en-us/sql/t-sql/functions/substring-transact-sql

    What database are you normally using?

  2. peon501 commented on Apr 4, 2017

    @peon501
    Author

    we are using in mssql, mysql, sqlite. I think it should handle substrings starting from 0, because it works in other engines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions