Posted by Janwillem Borleffs on 03/25/06 12:37
zeltus wrote: > $fp = "test.txt"; > $fp = fopen('test.txt', 'r'); > trim($buf); > $buf = trim($buf); > if (substr($buf,-1) == _\\_) { > if (substr($buf,-1) == '\\') { Or, if you don't like the escape: if (substr($buf,-1) == chr(92)) { JW
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming