equal
deleted
inserted
replaced
20 * If Count is larger than the length of the string S, the result is truncated. |
20 * If Count is larger than the length of the string S, the result is truncated. |
21 * If Index is larger than the length of the string S, then an empty string is returned. |
21 * If Index is larger than the length of the string S, then an empty string is returned. |
22 * Index is 1-based. |
22 * Index is 1-based. |
23 */ |
23 */ |
24 string255 fpcrtl_copy(string255 s, Integer Index, Integer Count); |
24 string255 fpcrtl_copy(string255 s, Integer Index, Integer Count); |
|
25 astring fpcrtl_copyA(astring s, Integer Index, Integer Count); |
25 |
26 |
26 /* |
27 /* |
27 * Delete removes Count characters from string S, starting at position Index. |
28 * Delete removes Count characters from string S, starting at position Index. |
28 * All characters after the deleted characters are shifted Count positions to the left, |
29 * All characters after the deleted characters are shifted Count positions to the left, |
29 * and the length of the string is adjusted. |
30 * and the length of the string is adjusted. |
40 #define fpcrtl_move(src, dst, count) fpcrtl_move__vars(&(src), &(dst), count); |
41 #define fpcrtl_move(src, dst, count) fpcrtl_move__vars(&(src), &(dst), count); |
41 #define fpcrtl_Move fpcrtl_move |
42 #define fpcrtl_Move fpcrtl_move |
42 |
43 |
43 Integer __attribute__((overloadable)) fpcrtl_pos(Char c, string255 str); |
44 Integer __attribute__((overloadable)) fpcrtl_pos(Char c, string255 str); |
44 Integer __attribute__((overloadable)) fpcrtl_pos(string255 substr, string255 str); |
45 Integer __attribute__((overloadable)) fpcrtl_pos(string255 substr, string255 str); |
|
46 Integer __attribute__((overloadable)) fpcrtl_pos(string255 substr, astring str); |
45 |
47 |
46 Integer fpcrtl_length(string255 s); |
48 Integer fpcrtl_length(string255 s); |
47 #define fpcrtl_Length fpcrtl_length |
49 #define fpcrtl_Length fpcrtl_length |
48 Integer fpcrtl_lengthA(astring s); |
50 Integer fpcrtl_lengthA(astring s); |
49 #define fpcrtl_LengthA fpcrtl_lengthA |
51 #define fpcrtl_LengthA fpcrtl_lengthA |