[fdo-trac] #366: TRANSLATE() 'repeat-count' parameter

FDO trac_fdo at osgeo.org
Sat Aug 2 00:02:55 EDT 2008


#366: TRANSLATE()  'repeat-count' parameter
---------------------------+------------------------------------------------
   Reporter:  zspitzer     |       Owner:  gregboone
       Type:  enhancement  |      Status:  new      
   Priority:  minor        |   Milestone:           
  Component:  FDO API      |     Version:           
   Severity:  3            |    Keywords:           
External_id:               |  
---------------------------+------------------------------------------------
 Add a new parameter 'repeat-count' to the TRANSLATE() expression which
 performs a string replace.
 {{{
 TRANSLATE('NAME',' ','\n') -- replace all (existing behaviour)
 TRANSLATE('NAME',' ','\n',0) -- replace all
 TRANSLATE('NAME',' ','\n',1) -- replace once
 TRANSLATE('NAME',' ','\n',4) -- replace four times etc
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/366>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list