If you can be sure it will always be in this format, then you can use Position and Middle functions for pretty much all of it.
Quick example:
We'll put your text into a field named Import, and extract the Telefon number:
Telefon =
Let (
Pos = Position ( Import ; "Telefon" ; 1 ; 1 ) + 10 ;
Middle ( Import ; Pos ; 10 ) )
In plain words, the Let function establishes the position of the Telefon number in the text relative to the word "Telefon"; the number starts ten characters after the word.
The telefon number is ten characters, including the space; the Middle function extracts ten characters, starting at the location of the previously determined variable Pos.
You can do this either a a calculation field, or script it using the Set Field step.
For other examples, look at text functions in Help.
Matt
On 02/20/2007 11:06:55 "CB" <info (AT) gaeb-online (DOT) de> wrote:
Quote:
The text iŽll copy from the eMail looks like this, the delimiter will be
the =
Vorname = Name Nachname = Name1 Firma = Company Strasse = Street PLZ =
12345 Stadt = City PLZ + Stadt = 12345 City Land = Germnay Staat / Provinz
= Telefon = 0789 12345 Fax = 0789 45678 |