logo separator

[mkgmap-dev] Substring returns full string

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Nov 28 08:24:14 GMT 2014

Hi Steve,

I don't know where to fix that.
In ValueBuilder.addFilter()
we receive the string  " substring:1:14"
(with the leading blank) and that is not removed, so we don't match "substring".

Gerd

> Date: Fri, 28 Nov 2014 01:04:50 -0700
> From: gpetermann_muenchen at hotmail.com
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Substring returns full string
> 
> Hi,
> 
> try without the blanks:
> (ncn=yes | rcn=yes) { name '${rcnname|substring:1:14}'} [0x10018 resolution
> 22 continue with_actions]
> 
> Gerd
> 
> 
> gbbickerton wrote
> > I have not had this problem with my email before that I know of, however
> > it does not solve my problem what I want is a way to shorten names to say
> > the first two words as some are very long.
> >  I have also tried  
> > { name '${rcnname|part:"\s<2"}'} but I am not sure how to separate at
> > spaces I have tried ' ' etc without success
> 
> 
> 
> 
> 
> --
> View this message in context: http://gis.19327.n5.nabble.com/Substring-returns-full-string-tp5825603p5825665.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141128/8caa1917/attachment.html>


More information about the mkgmap-dev mailing list