circle-check
Boxlang 1.x Stable Released
BoxLang : A Modern Dynamic JVM Languagearrow-up-right
LogoLogo
search
Ctrlk
JavaDocschevron-downDownloadTrySourceSupport
  • house-windowIntroductionchevron-right
  • Getting Started
    • crosshairs-simpleOverviewchevron-right
    • sign-posts-wrenchInstallationchevron-right
    • plug-circle-boltRunning BoxLangchevron-right
    • cloud-boltBoxLang Cloud Serverschevron-right
    • laptop-codeIDE & Toolingchevron-right
    • magentoMaven Integration
    • wrench-simpleRuntime Configurationchevron-right
  • BoxLang Language
    • folder-treeProgram Structure
    • brackets-curlySyntax & Semanticschevron-right
    • codepenClasses & O.O.chevron-right
    • codeTemplating Language
    • booksReferencechevron-right
      • API Docs
      • Lexical Elementschevron-right
      • Typeschevron-right
      • Built-in Functionschevron-right
        • arraychevron-right
        • asyncchevron-right
        • binarychevron-right
        • cachechevron-right
        • clichevron-right
        • conversionchevron-right
        • decisionchevron-right
        • encryptionchevron-right
        • formatchevron-right
        • i18nchevron-right
        • iochevron-right
        • javachevron-right
        • jdbcchevron-right
        • listchevron-right
        • mathchevron-right
        • netchevron-right
        • querychevron-right
        • runtimechevron-right
        • schedulerchevron-right
        • stringchevron-right
          • Ascii
          • CamelCase
          • Char
          • CharsetDecode
          • CharsetEncode
          • Compare
          • CompareNoCase
          • Find
          • FindNoCase
          • FindOneOf
          • Insert
          • JSStringFormat
          • Justify
          • KebabCase
          • LCase
          • Left
          • ListReduce
          • LJustify
          • LTrim
          • Mid
          • ParagraphFormat
          • PascalCase
          • QueryStringToStruct
          • ReEscape
          • ReFind
          • reFindNoCase
          • ReMatch
          • reMatchNoCase
          • RemoveChars
          • RepeatString
          • Replace
          • ReplaceList
          • ReplaceListNoCase
          • ReplaceNoCase
          • ReReplace
          • reReplaceNoCase
          • Reverse
          • Right
          • RJustify
          • RTrim
          • Slugify
          • SnakeCase
          • SpanExcluding
          • SpanIncluding
          • SQLPrettify
          • StringBind
          • StringEach
          • StringEvery
          • StringFilter
          • StringMap
          • StringReduce
          • StringReduceRight
          • StringSome
          • StringSort
          • StripCR
          • Trim
          • TrueFalseFormat
          • UCase
          • UCFirst
          • Val
          • Wrap
          • YesNoFormat
        • structchevron-right
        • systemchevron-right
        • temporalchevron-right
        • typechevron-right
        • xmlchevron-right
        • zipchevron-right
      • Componentschevron-right
      • Exceptions
  • BoxLang Framework
    • medalBoxLang+chevron-right
    • rocket-launchApplication.bx
    • waves-sineAsync Programmingchevron-right
    • plugComponents
    • serverCachingchevron-right
    • cabinet-filingFile Handlingchevron-right
    • databaseJDBC & Databaseschevron-right
    • javaJava Interop
    • jet-fighter-upInterceptorschevron-right
    • globe-wifiHTTP/S Calls
    • soapSOAP Web Services
    • satellite-dishServer-Sent Events (SSE)
    • chart-tree-mapModuleschevron-right
  • Extra Credit
    • flask-vialTesting
    • rectangles-mixedMVC
    • syringeDependency Injection
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
githubEdit
  1. BoxLang Languagechevron-right
  2. booksReferencechevron-right
  3. Built-in Functionschevron-right
  4. string

ParagraphFormat

Replaces characters in a string: Single newline characters (CR/LF sequences) with spaces and double newline characters with HTML paragraph tags

hashtag
Method Signature

ParagraphFormat(string=[string])

hashtag
Arguments

Argument
Type
Required
Description
Default

string

string

true

The string to format.

hashtag
Examples

hashtag
Related

  • Ascii

  • CamelCase

  • Char

  • CharsetDecode

  • CharsetEncode

  • Compare

  • CompareNoCase

  • Find

  • FindNoCase

  • FindOneOf

  • Insert

  • JSStringFormat

  • Justify

  • KebabCase

  • LCase

  • Left

  • ListReduce

  • LJustify

  • LTrim

  • Mid

  • PascalCase

  • QueryStringToStruct

  • ReEscape

  • ReFind

  • reFindNoCase

  • ReMatch

  • reMatchNoCase

  • RemoveChars

  • RepeatString

  • Replace

  • ReplaceList

  • ReplaceListNoCase

  • ReplaceNoCase

  • ReReplace

  • reReplaceNoCase

  • Reverse

  • Right

  • RJustify

  • RTrim

  • Slugify

  • SnakeCase

  • SpanExcluding

  • SpanIncluding

  • SQLPrettify

  • StringBind

  • StringEach

  • StringEvery

  • StringFilter

  • StringMap

  • StringReduce

  • StringReduceRight

  • StringSome

  • StringSort

  • StripCR

  • Trim

  • TrueFalseFormat

  • UCase

  • UCFirst

  • Val

  • Wrap

  • YesNoFormat

PreviousMidchevron-leftNextPascalCasechevron-right

Last updated 3 months ago

Was this helpful?

LogoLogo

Social Media

  • X
  • FaceBook
  • LinkedIn
  • YouTube

Bug Tracking

  • Runtimes
  • IDE
  • Modules

Support

  • Professional
  • Community
  • Slack

Copyright & Register Trademark by Ortus Solutions, Corp

  • Method Signature
  • Arguments
  • Examples
  • Related

Was this helpful?