Jess,

> I'm an FME newbie having trouble figuring out how to trim quotation 
> marks from a set of pipe diameters.
> 
> 12" -> 12
> 18" -> 18
> 10" -> 10
> 
> I'm sure this is simple, however, the several tranformers I've tried 
> don't like " being entered as an input. For example if I try to use 
> the AttributeTrimmer xfmr, and put in " as the Trim Characters I get 
> an error (Unbalanced Quotation Marks ...).

You can 'escape' special characters like that by placing a \ in front of 
it. E.g. don't put "  in the AttributeTrimmer, but \"

The escape character \ tells FME (it's actually not an FME specific 
thing, it pops up in more places) to consided the character that follows 
it as whatever character it is, rather than the special meaning it has.

In case you're wondering, if you would want to remove a \ from a string, 
you should use \\

Hope this helps.
-- 
Hans van der Maarel
Red Geographics
www.redgeographics.com / [EMAIL PROTECTED]





Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our 
Professional Services team.  Visit www.safe.com/services for details. 
Yahoo! Groups Links

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

<*> 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