Copies specified range from source string to destination string.
Appends string2 to string1
Note: None
Prototype
s32 Xil_StrCpyRange(const u8 *Src, u8 *Dest, u32 From, u32 To, u32 MaxSrcLen, u32 MaxDstLen);
Parameters
The following table lists the Xil_StrCpyRange function arguments.
| Type | Member | Description |
|---|---|---|
| const u8 * | Src | is a pointer to source string |
| u8 * | Dest | is a pointer to destination string |
| u32 | From | is 0 based index from where string copy starts |
| u32 | To | is 0 based index till which string is copied |
| u32 | MaxSrcLen | is the maximum length of source string |
| u32 | MaxDstLen | is the maximum length of destination string |