True, in 2006GB you can't select an attribute (only in 2007 beta)  but
the 2006GB version permits you to leave the replacement string empty,
which gives you the result you need.

Mark

--- In [email protected], "kcheng888_007" <[EMAIL PROTECTED]> wrote:
>
> How can you use it the null attribute as a replacment value?  
> 
> The string replacer transformer only gives the replacment value as an
> actual text string...and not an attribute value?
> 
> 
> --- In [email protected], "mark2atsafe" <mark.ireland@> wrote:
> >
> > I thought you could simply replace it with nothing, but it appears to
> > not work (no longer work?) this way. The transformer won't accept a
> > blank replacement value.
> > 
> > What you can do is create a dummy attribute that is null (contains
> > nothing). Then use that as the replacement value. That works OK
for me.
> > 
> > Mark
> > 
> > Mark Ireland, Senior Product Specialist
> > Safe Software Inc. Surrey, BC, CANADA
> > support@ http://www.safe.com
> > Solutions for Spatial Data Translation, Distribution and Access
> > 
> > --- In [email protected], "kcheng888_007" <kcheng888_007@> wrote:
> > >
> > > Hi All, 
> > > 
> > > Anyone know how to replace a comma in a number using the substring
> > > replacer?
> > > 
> > > ie.
> > > INPUT
> > > DATASET_SCALE attribute such as 
> > > 1,000
> > > 5,000
> > > 10,000
> > > 20,000
> > > 
> > > OUTPUT should be
> > > 1000
> > > 5000
> > > 10000
> > > 20000
> > > 
> > > I've tried using the substring replacer but didn't have much 
> > > success.
> > > 
> > > Any suggestion?
> > >
> >
>





For insights into what's up at Safe Software and what's on the development 
horizon, visit Safe's blog at spatial-etl.blogspot.com.

Safe Software has also made slides available that outline enhancements planned 
for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 
of the FME Worldwide Users Conference. To view these slides, visit 
www.safe.com/2006uc.

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/fme/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to