You are here

public static function PHPExcel_Shared_String::StrToUpper in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php \PHPExcel_Shared_String::StrToUpper()

* Convert a UTF-8 encoded string to upper case * *

Parameters

string $pValue UTF-8 encoded string: * @return string

1 call to PHPExcel_Shared_String::StrToUpper()
PHPExcel_Calculation_TextData::UPPERCASE in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/TextData.php
* UPPERCASE * * Converts a string value to upper case. * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php, line 592

Class

PHPExcel_Shared_String
PHPExcel_Shared_String

Code

public static function StrToUpper($pValue = '') {
  if (function_exists('mb_convert_case')) {
    return mb_convert_case($pValue, MB_CASE_UPPER, "UTF-8");
  }
  return strtoupper($pValue);
}