Hi,
I have a variable defined as follows:
char l_string[20]="";
l_string is populated with values which may or may not have an asterix as the last character i.e.
abcd
efghi*
jklmnop
aaaaa*aaaaaa*
If the variable is populated with a string which has an asterix as the last character I would like to remove the asterix.
What is the best approach for doing this?
Thanks,
Manny