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

Gets the line indices for a leChar style string

C
LIB_EXPORT leResult leStringUtils_GetLineIndices(
    const leChar* str, 
    uint32_t size, 
    uint32_t line, 
    uint32_t* start, 
    uint32_t* end
);
Parameters
Parameters 
Description 
const leChar* str 
the source leChar string 
uint32_t size 
the size of the input buffer in code points 
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