home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 January / PCWELT_1_2006.ISO / pcwsoft / autoit-v3-setup.exe / Examples / StringReplace.au3 < prev    next >
Encoding:
Text File  |  2005-01-10  |  192 b   |  5 lines

  1. $text = StringReplace("this is a line of text", " ", "-")
  2. $numreplacements = @extended
  3. MsgBox(0, "New string is", $text)
  4. MsgBox(0, "The number of replacements done was", $numreplacements)
  5.