- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function web_nl2br(const str: string): string;
Arguments:
-
Description:
-
Replaces all end-of-line characters with <br /> tags.
Returns:
-
Replacement result.
Usage:
-
s := 'First line' + #13+#10 + 'Second line';
s := web_nl2br(s);
See also:
-
web_disable_tags.
|