JCL Help:ExtractClassName

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Extracts the class name from a procedure name.


Pascal

 function ExtractClassName(const ProcedureName: string): string;


Parameters

Parameters Description
const ProcedureName: string Name of a procedure as returned by ProcOfAddr/ProcByLevel or the _Proc parameter of MapByLevel/MapOfAddr


Return Value

If the given procedure name contains a '.', the string before the '.' will be returned, otherwise an empty string is returned.


Description

ExtractClassName extracts the class name from the given procedure name (ie. anything before the period). If the procedure name does not contain a class name an empty string will be returned.


About

Unit

JclDebug


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page