The only function i know for this task is idautils.Strings()
but the problem is i need to get the sequence of string usage in each function, meaning that if string 1 was first referenced then string 2, i need to have a sequence like string1, string2, and i need to gather this for each function individually.
also i don't care which instruction is using the string, i just need the sequence of string usage in each function.
so what is the best way to do this? is there any ida api that can help us with this?