dbTalk Databases Forums  

Parsing Help please

comp.databases.filemaker comp.databases.filemaker


Discuss Parsing Help please in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sasampson@gmail.com
 
Posts: n/a

Default Parsing Help please - 11-02-2006 , 03:27 PM






I am swiping magnetic card, and my swipe reader is displaying all 3
tracks of information, I wanted to know how to take that information
that looks like this:


E?;123456789=1?E? and want to know what my calculation field would
look like to parse it down to just the 9 digit number and the =1 ?


thanks in advance for your help


Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: Parsing Help please - 11-02-2006 , 04:07 PM






Is the information always in that configuration?

If it is always the same number of characters, then the simplest would be

Number = Middle ( Swipe ; 4 ; 11 )

In English, 11 characters from the middle of Swipe, starting at the 4th
character.

If it is always an E as the leading and trailing alpha, you could also
do it with

Number =
Substitute ( Swipe ;
[ "E?;" ; "" ] ;
[ "E?" ; "" ] )

In English, Substitute null for the characters you don't want.

Matt


In article <1162502861.202144.15270 (AT) k70g2000cwa (DOT) googlegroups.com>,
"sasampson (AT) gmail (DOT) com" <sasampson (AT) gmail (DOT) com> wrote:

Quote:
I am swiping magnetic card, and my swipe reader is displaying all 3
tracks of information, I wanted to know how to take that information
that looks like this:


E?;123456789=1?E? and want to know what my calculation field would
look like to parse it down to just the 9 digit number and the =1 ?


thanks in advance for your help

Reply With Quote
  #3  
Old   
sasampson@gmail.com
 
Posts: n/a

Default Re: Parsing Help please - 11-03-2006 , 01:47 AM



That worked perfect, thanks for that help!


Matt Wills wrote:
Quote:
Is the information always in that configuration?

If it is always the same number of characters, then the simplest would be

Number = Middle ( Swipe ; 4 ; 11 )

In English, 11 characters from the middle of Swipe, starting at the 4th
character.

If it is always an E as the leading and trailing alpha, you could also
do it with

Number =
Substitute ( Swipe ;
[ "E?;" ; "" ] ;
[ "E?" ; "" ] )

In English, Substitute null for the characters you don't want.

Matt


In article <1162502861.202144.15270 (AT) k70g2000cwa (DOT) googlegroups.com>,
"sasampson (AT) gmail (DOT) com" <sasampson (AT) gmail (DOT) com> wrote:

I am swiping magnetic card, and my swipe reader is displaying all 3
tracks of information, I wanted to know how to take that information
that looks like this:


E?;123456789=1?E? and want to know what my calculation field would
look like to parse it down to just the 9 digit number and the =1 ?


thanks in advance for your help


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.