/ LJCPHPCodeDoc / LJCCommonLib / LJC / ShowWhiteSpace


Parameters
$text - The text value.

Syntax

PHP
public static function ShowWhiteSpace(string $text)

Returns a string that shows the whitespace.

Example

PHP
 // Returns a string that shows the whitespace.
 private static function ShowWhiteSpace()
 {
   $result = LJC::ShowWhiteSpace("This is a line.\n");
 
   $compare = "This is a line.\\n";
   LJC::OutputLogCompare("ShowWhiteSpace()", $result, $compare);
 }

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.