afc_string_mid

Name

afc_string_mid  -- Copies a part of source string in dest string

Synopsis

char * afc_string_mid (char * dest, const char * source, unsigned long fromchar, unsigned long numchars);

Description

This function copies a part of source string into dest string.

Inputs

dest

The destination string. MUST be an AFC string_new, created using the afc_string_new() command.

source

Source string.

fromchar

Starting char for the copy.

numchars

Number of chars to copy.

Result

str

Resulting string.

Note

See Also