[Qgis-developer] Addressing a discrepancy between substr and strpos

Mathieu Pellerin nirvn.asia at gmail.com
Thu Nov 19 18:27:57 PST 2015


Thanks Jürgen.

I realized too late my expression example was wrong, but glad the bigger
point raised was understood :)

On Thu, Nov 19, 2015 at 4:40 PM, Jürgen E. <jef at norbit.de> wrote:

> Hi Mathieu,
>
> On Thu, 19. Nov 2015 at 13:33:20 +0700, Mathieu Pellerin wrote:
> > IMHO, substr()'s adherence to postgresql is the right way to go in the
> > context of QGIS expressions, which means addressing this issue would mean
> > fixing strpos() so its count starts at 1.
>
> I'd consider this a (fixed) bug.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer           norBIT GmbH             Tel.
> +49-4931-918175-31
> Dipl.-Inf. (FH)             Rheinstraße 13          Fax.
> +49-4931-918175-50
> Software Engineer           D-26506 Norden
> http://www.norbit.de
> QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151120/6f148238/attachment.html>


More information about the Qgis-developer mailing list