li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.1.x)
  • lithium
  • g11n
  • multibyte
  • adapter
  • Intl
  • strpos()

Contents

  • ../

lithium\g11n\multibyte\adapter\Intl::strpos()

public method

Here used as a multibyte enabled equivalent of strpos().

Parameters

  • string $haystack
  • string $needle
  • integer $offset

Returns

integer|boolean

Links

  • http://php.net/function.grapheme-strpos.php

Source

	public function strpos($haystack, $needle, $offset) {
		return grapheme_strpos($haystack, $needle, $offset);
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

– no comment –

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.