How do I remove the first character of a string in Shell?

Alvin Le

Member
How do I remove the first character of a string in Shell?
Answer
To remove the first character of a string in any POSIX compatible shell you need only look to
parameter expansion like: ${string#?}
 

Tìm kiếm

Back
Top