i am trying to get windows text in c++, i need to get the windows text and then extract certain part as my string such as: my name is raj, now here i need the part "raj" how do i do that in vc++?