12,297
edits
Line 58: | Line 58: | ||
if theNumber begins with "03643" then | if theNumber begins with "03643" then | ||
set theNumber to characters -1 thru -(lengthOfNumber - 5) of theNumber as text | set theNumber to characters -1 thru -(lengthOfNumber - 5) of theNumber as text | ||
--in case it's an internal number ommit the prefix | |||
if theNumber begins with "58" then | |||
set theNumber to characters 3 thru 6 of theNumber as text | |||
set amtsholung to false | |||
end if | end if | ||
end if | end if |