This function returns the character in a given offset.
Parameters: string, offset
You can also specify a negative offset, which will calculate the start of the offset from the end of the string.
The following rule calculates the offset of the characters H, E and A, essentially filtering and searching for PROFILEs that begin with HEA. The offset starts at 0.