You are here

public static function PHPExcel_Shared_String::mb_str_split 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::mb_str_split()
1 call to PHPExcel_Shared_String::mb_str_split()
PHPExcel_Shared_String::StrCaseReverse in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php
* Reverse the case of a string, so that all uppercase characters become lowercase and all lowercase characters become uppercase * *

File

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

Class

PHPExcel_Shared_String
PHPExcel_Shared_String

Code

public static function mb_str_split($string) {

  # Split at all position not after the start: ^

  # and not before the end: $
  return preg_split('/(?<!^)(?!$)/u', $string);
}