7

Извлекает $length символов из $string, начиная с позиции $position

${string:position:length}
expr substr $string $position $length
-----------