Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>bitstrip() - strip high bits from string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     bitstrip() - strip high bits from string
  Usage:    <string> = bitstrip(<string>)
  Params:   string <string> - the string to strip
  Returns:  a string equal to <string> but the high bit of all the
            characters has been set to 0

 ---------------------------------- Example ---------------------------------

                 ws1  = fopen("wsfile.doc")
                 asc2 = fcreate("ascii.txt")
                 do while .not. feof(ws1)
                      fwriteline(asc2,bitstrip(freadline(ws1)))
                 enddo

  Note:     This function is useful for converting Wordstar document files
            to pure ascii.


See Also: freadline() fwriteline() _upper() _lower() capitalize()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson