Beginner question about char.

Hi.. I would like to know how to get character at specific array position to the last.. and covert is as a string..

Example: Char char1[50] = "Legend";

I want a Result: String string1 = "gend";

khizon18: Hi.. I would like to know how to get character at specific array position to the last.. and covert is as a string..

You mean String. A string is a null-terminated array of chars like your first line. A String is an object with a well documented amount of issues.

Given

char char1[] = "Legend";

you can access a latter part of it by taking the address of the first array element:

Serial.println(&char1[2]);

Would produce "gend"

wow thanks you... what if i only want "gen"?

Replace the 'd' with a '\0' (null terminator).