1.
So drop the Hungarian
2.
X++:
lintMemberVarStartPos = strFind(lstrClassDeclaration, '{' ,1, lintStrLen);
lintMemberVarEndPos = strFind(lstrClassDeclaration, '}',1, lintStrLen);
lstrClassDeclaration = subStr(
lstrClassDeclaration,
lintMemberVarStartPos+1,
lintMemberVarEndPos - lintMemberVarStartPos - 1);
-->
X++:
System.Text.RegularExpression.Regex::replace(@'^.*\{(.*)\}.*$','$1')