MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > h) String Functions > leStringUtils_GetLineIndicesCStr Function
MPLAB® Harmony Graphics Suite
leStringUtils_GetLineIndicesCStr Function

Gets the line indices for a C-style string

C
LIB_EXPORT leResult leStringUtils_GetLineIndicesCStr(
    const char* str, 
    uint32_t line, 
    uint32_t* start, 
    uint32_t* end
);
Parameters
Parameters 
Description 
const char* str 
the source C-string to analyze 
uint32_t line 
the line index to query 
uint32_t* start 
will contain the start index of the line 
uint32_t* end 
will contain the end index of the line 
Returns

leResult - the result of the operation

MPLAB® Harmony Graphics Suite