home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / autoit-v3-setup.exe / Examples / StringSplit.au3 < prev    next >
Text File  |  2004-09-22  |  222b  |  6 lines

  1. $days = StringSplit("Sun,Mon,Tue,Wed,Thu,Fri,Sat", ",")
  2. ;$days[1] contains "Sun" ... $days[7] contains "Sat"
  3.  
  4. $text = "This\nline\ncontains\nC-style breaks."
  5. $array = StringSplit(StringReplace($text, "\n", @LF), @LF)
  6.