Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash remove last character from string

myString=${myString::-1}
Source by reactgo.com #
 
PREVIOUS NEXT
Tagged: #bash #remove #character #string
ADD COMMENT
Topic
Name
1+6 =