$dollar = ‘$’; $paymentAmount = #סכום לתשלום#;
if (strpos($dollar, ‘$’) !== false) { return $paymentAmount; } else { return ”; }