asrm_strdup_result()

Copy the text from a result.

Synopsis:

#include "asr/asrm.h"
 
char* asrm_strdup_result(asr_result_t *result, unsigned int index)

Arguments:

result

A pointer to the result to copy from.

index

The index to begin copying from.

Library:

libasr

Description:

The asrm_strdup_result() method copies the terminals from the specified result to a new string, starting from the specified index.

Returns: