Skip to main content

strpos

Short description

Finds the search string’s first occurrence.

Description of this function

strpos( string $_haystack  , string $_needle  , int $_offset  ) :

Examples

{%
	$_array = {"Id":"100","Name":"Couch Red","Price":"400 €"};

	if (array_key_exists("Price", $_array))
	{
		print("Der Artikel ".$_array["Name"]." kostet ".$_array["Price"]);
	}
%}

To top