I would like to find a method where i can find a character position in reverse.For example last "e" starting count in reverse.

From example

$string="Kelley";

$strposition=(strpos,'e');

it will give me position 1.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.