Log 2687
31/01/2024 2024-01-31 12:40$linkToCustomer = “#קישור ללקוח#”;
$email = #דואר אלקטרוני#;
// Get the position of “#” characters within the placeholders
$startPosLink = strpos($linkToCustomer, “#”);
$endPosLink = strrpos($linkToCustomer, “#”);
$startPosEmail = strpos($email, “#”);
$endPosEmail = strrpos($email, “#”);
// Extract the email address using substr and starting/ending positions
$emailAddress = substr($email, $startPosEmail + 1, $endPosEmail – $startPosEmail – 1);
// Echo the extracted email address
return $emailAddress;