how to divide the string into substring

Jun 14 2010 11:58 PM
how to use substring function so that i can divide the string with space into two different string..............
if i hv "abc def" then it will be divided into "abc" and "def" or if i hv "rajan himachal" then it will be divided into "rajan" and "himachal" ...........
help me to solve this problem..................

Answers (3)