End Google Ads 201810 - BS.net 01 --> Hi All

How can i ReversFind and count number of words?I have CString name="agsdfgggggg" how can count and cut these part "gggggg" from name.
I mean i want to show this CString name="agsdfgggggg" to CString name="agsdf".
Can any one help me.