Share this page

# lrc_char

Type Conversion From String

Converts a string into a char.

    char lrc_char( const char* str );

    char* lrc_char_by_ref( const char* str );

str | A character string.

The lrc_char function converts a character string containing a char type number into a char variable.

The lrc_char_by_ref function converts a character string containing a char type number into a char variable.

## Return Values

lrc Return Values

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

This example converts the character string into a char type variable:

    char var = lrc_char("A");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: