Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Grapheme.php

function Grapheme::grapheme_strstr

File

vendor/symfony/polyfill-intl-grapheme/Grapheme.php, line 189

Class

Grapheme
Partial intl implementation in pure PHP.

Namespace

Symfony\Polyfill\Intl\Grapheme

Code

public static function grapheme_strstr($s, $needle, $beforeNeedle = false) {
    return mb_strstr($s, $needle, $beforeNeedle, 'UTF-8');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal