JCL Help:ExtractMethodName

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Extracts the method name from a procedure name.


Pascal

 function ExtractMethodName(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 after the '.' is returned, otherwise the entire string is returned.


Description

ExtractMethodName extracts the method name from the given procedure name (ie. anything after the period). If the procedure name does not contain a class name the entire string is 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