1al_ustr_assign_substr(3)   Library Functions Manual   al_ustr_assign_substr(3)
2
3
4

NAME

6       al_ustr_assign_substr
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_ustr_assign_substr(ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2,
12                 int start_pos, int end_pos)
13

DESCRIPTION

15       Overwrite  the string us1 with the contents of us2 in the byte interval
16       [start_pos, end_pos).  The end points will be clamed to the  bounds  of
17       us2.
18
19       Usually  you  will first have to use al_ustr_offset(3) to find the byte
20       offsets.
21
22       Returns true on success, false on error.
23

SEE ALSO

25       al_ustr_assign(3), al_ustr_assign_cstr(3)
26
27
28
29Allegro reference manual                              al_ustr_assign_substr(3)
Impressum