Hi All,
I have a string of around 500 characters(alphabets) and I have a 3 arrays storing the position "start, end and type" for that string. i am trying to do is to match these position to the string and highlight those positions on the web page.
For example: string- ABCDREGYRIWJEKSALOPRHDAGRTPRTDBRTWASERFSDHSJHDS
start_pos=5
end_pos=10
type=helix breaker
start_pos=12
end_pos=18
type=unusual
so what I am trying to do is to match the pos and type to the string and
in the output(webpage), trying to highlight the positions, may be drawing a rectangular box around the matched positions.and positions may overlap within each other.
I am tying to use some of the functions for the string matching but unable to do for multiple matches.
any help or suggestions.
Thanks
Kumar