returns the index of an element within an array or stringposition returns the one-based index for the first occurrence of element within an array or string, beginning from offset start_index and iterating with step. If the second argument is a string, the first argument must be a string with a single character. If the second argument is an array of any, then depending of type of it's elements same type is expected as the first argument.
returns the index of an element within an array or stringposition returns the one-based index for the first occurrence of element within an
array or string, beginning from offset start_index and iterating with step.
If the second argument is a string, the first argument must be a string with a single character.
If the second argument is an array of any, then depending of type of it's elements
same type is expected as the first argument.