Gets the index of the first occurence of ´c´ starting from ´pos´

Returns -1 if not found

Property definitions

core $ Text :: index_of_from
	# Gets the index of the first occurence of ´c´ starting from ´pos´
	#
	# Returns -1 if not found
	fun index_of_from(c: Char, pos: Int): Int
	do
		var iter = self.chars.iterator_from(pos)
		while iter.is_ok do
			if iter.item == c then return iter.index
			iter.next
		end
		return -1
	end
lib/core/text/abstract_text.nit:122,2--133,4