Str Pos Nth (Position of nth occurance of a string)

A handy function to get the position of nth occurance of a substring in a string, with an optional param to make it case insenstive. I am calling it strposnth.

Copyleft : LGPL
Idea by: webKami
Coded By: webKami

Version 1.0.0

1, Finds nth position of needle in haystack
2, Can perform an case senstive or insenstive operation