breaking up text

Results 1 to 2 of 2

Thread: breaking up text

  1. #1
    Join Date
    Dec 1969

    Default breaking up text

    How do you break up a line of text and assign variables to each word.e.g<BR>"Please answer this" break it up into the following<BR>variable_1 ="please"<BR>variable_2 ="answer"<BR>variable_3 ="this"<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: breaking up text

    There&#039;s no equivalent in VBScript that I know of of the following line of Perl:<BR><BR>($var1, $var2, $var3) = Split($vartobreakup, / /)<BR><BR>However, you *can* split a variable up into an array, which you can then reference.<BR><BR>ArrayVar = Split(varToSplit, " ")<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts