Program to replace "cut" utility

Hi guys,
does any one have any tip about the command "cut"?
i have a task to write a program (command) that would do the functions of cut.
all ur tips approciated.
Bachiri

If this is not homework, why can you not just use cut?

yes Jim, it is a homework (task) actually. and i needed some tips.