Connecting Tech Pros Worldwide Help | Site Map

notepad

Newbie
 
Join Date: Oct 2009
Posts: 22
#1: 1 Week Ago
hi,
in my notepad i have 2 rows of data seperated by spacebar. value of first row should be saved in one variable and the other in another variable. so, how to differentiate between this values as they are in the same line.
any suggestion plz....
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,743
#2: 1 Week Ago

re: notepad


use string.split to split the line into to elements of a string array - using the space as the divider character
Reply