MCPcopy Create free account
hub / github.com/HyperDbg/HyperDbg / Trim

Function Trim

hyperdbg/script-engine/code/script_include.c:57–62  ·  view source on GitHub ↗

* @brief Trims leading and trailing whitespace from a string in-place * * @param Str the string to trim * @return VOID */

Source from the content-addressed store, hash-verified

55 * @return VOID
56 */
57static VOID
58Trim(char * Str)
59{
60 Ltrim(Str);
61 Rtrim(Str);
62}
63
64/**
65 * @brief Inserts a string into another string at a given index

Callers 1

ParseIncludeFileFunction · 0.70

Calls 2

LtrimFunction · 0.85
RtrimFunction · 0.85

Tested by

no test coverage detected