DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+7 =
Submit