Parameters
$text - The text value.
$indentCount - The number of tabs to add to the line beginning.
Syntax
PHP |
public function FWriteLine(string $text, int $indentCount = 0)
|
Writes a file text line with indents.
Example
PHP |
$webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
require_once "$webCommonPath/LJCTextLib.php";
$stream = fopen($fileName, "w");
$writer = new LJCWriter($stream);
$writer->FWriteLine("This is some text.");
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.