SyntaxFix
Write A Post
Hire A Developer
Questions
This might work for you:
echo ${var#*:}
See Example 10-10. Pattern matching in parameter substitution