MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laString_Copy Function
MPLAB® Harmony Graphics Suite
laString_Copy Function
C
LIB_EXPORT laResult laString_Copy(
    laString* dst, 
    const laString* src
);
Parameters
Parameters 
Description 
laString* dst 
the destination string object 
laString* src 
the source string object 
Returns

laResult - LA_SUCCESS if the function succeeded

Remarks

Makes duplicate of a given string. Destination will have the same length and data but may not have the same overall capacity. The source may have lots of unused space and the destination may not match to avoid waste. Caller is responsible for the allocated memory but does not need to preserve the input string to maintain the destination string buffer state. 

Caller must also ensure that the font contains all the glyphs for the string or rendering may not be possible.

MPLAB® Harmony Graphics Suite