hey.
i was wondering if anyone could help me out on getting a window's caption. the thing is, i dont want to search just for the caption. so the caption has to be inside a specific class and search for that caption within that class. Heres the info

Window's Caption: GRPsuper9's Buddy List Window
Class Name: #32770

First thing is first, getting the whole caption out of the class name. then, i want it to get the username before the "'s Buddy List Window". in this case, GRPsuper9. but lets say i log in with Master, i want it to get master instead of grpsuper9.

can anyone help? if u need clairifcations, just post