If I just give up and use awk and sed, this solves my problem: echo "$File" | awk -F . '{print $2}' | sed 's/^ //' But still, is this possible with the Bash built in substring features? Kind regards Johnny Rosenberg ジョニー・ローゼンバーグ