Splitting Strings

Results 1 to 2 of 2

Thread: Splitting Strings

  1. #1
    markyp Guest

    Default Splitting Strings

    I am creating a search function however I am struggling with one part. I have one text box. If the user enters &#039;health AND safety&#039; I want to be able to split this into the three seperate words. So that I can construct an SQL statement to search for health AND safety. Any help/ideas would be appreciated<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default Split()

    Easy, use the "split" function :)<BR><BR>==== START<BR><BR>myArray = Split(myString, " ") &#039; Split by a literal space<BR><BR>==== END<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