Function with passing a char variable and return of a logical variable

PaulS:
You are passing a string in PROGMEM to a function that expects a char in SRAM. Why?

If I define "char Host_001[]" and assign a string to Host_001, then Host_001 is a string
and an array with multiple characters.

conclusion: Host is a string.

Thank you - the function is excecuted.