Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c remove last character from a string

#include <string.h>
str[strlen(str)-1] = '';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #character #string
ADD COMMENT
Topic
Name
6+7 =