resetting IFS variable

Hi,
I have modified the IFS variable in the K shell program and with in the program i want to reset to the default one. How do i reset the same.

e.g

in the begining of the program IFS is default

in the middle i changed it to
IFS="|"

and again i want the default value for the IFS.

Please reply.

Thanks
Vijay

The standard way to do this is to simply save the old value so you can restore it later. The user could have set it to whatever for various reasons.

OLDIFS=$IFS
IFS='(-:'
: ... code ...
IFS=$OLDIFS

Thanks a lot...