Hi in wb i think you would have to specify -5 ( or maybe just -4) and -1
if you use tcl the expresion is: string range [ FME_GetAttriubte myStrAttribute ] end-4 end if you want to strip the string for leading and traling spaces first use string range [string trim [ FME_GetAttriubte myStrAttribute ] ] end-4 end Peter Laulund National Survey and Cadastre Denmark >From: "lyndell_stringer" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >Subject: [fme] Substring Extractor >Date: Thu, 11 Aug 2005 06:34:43 -0000 > >Hi all > >What start and end index numbers would I set if I want the last 5 >characters of an attribute? The attribute varies in length but I only >need the last 5 numbers. > >Thanks >Lyndell > > > > > > > >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 > > > > > > <BR><HR>FREE Spam Protection! <A HREF="http://www.spamextract.com/download.php">Click Here.</A><BR>SpamExtract Blocks Spam.<br><br> _________________________________________________________________ Del din verden med MSN Spaces http://spaces.msn.com 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/
