Feb 17, 2004 #1 q4s72534 MIS Aug 19, 2003 59 US i want to pull the first 3 numbers after the "-" example: 4578477-78434 I want to see "784" what is the code? i tried this and it didn't work. fieldName["-",3] thanks!
i want to pull the first 3 numbers after the "-" example: 4578477-78434 I want to see "784" what is the code? i tried this and it didn't work. fieldName["-",3] thanks!
Feb 17, 2004 #2 uvguy Programmer Dec 1, 2003 60 US try fieldName[(index(fieldName,"-",1)+1),3] or field(fieldName,"-",2)[1,3] *this all assumes only a single "-" in fieldName Upvote 0 Downvote
try fieldName[(index(fieldName,"-",1)+1),3] or field(fieldName,"-",2)[1,3] *this all assumes only a single "-" in fieldName