• File: BaseFormatter.php
  • Full Path: /var/www/crm_set/modules/surveys/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/BaseFormatter.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 340 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace PhpOffice\PhpSpreadsheet\Style\NumberFormat;

abstract class BaseFormatter
{
    protected static function stripQuotes(string $format): string
    {
        // Some non-number strings are quoted, so we'll get rid of the quotes, likewise any positional * symbols
        return str_replace(['"', '*'], '', $format);
    }
}