All pastes #392297 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-12 20:02 UTC
rendered paste body
// rdPtr->cp2=="C:\Documents and Settings\Matthew\Desktop\foo"

CString str_cp2=rdPtr->cp2;
rdPtr->ctrim=rdPtr->cp3==1?str_cp2.GetLength()-str_cp2.ReverseFind('\\'):0;

// rdPtr->ctrim==8