Adding spaces between words in a Section Header

Certified Senior Developer
Is there a way where we can add blank spaces between a string to show in a section header. For example:
"Name: Chris Age: 38 Gender:M".
If we try using concat or & the blank spaces are ignored and the resulting string would look like
"Name: Chris Age: 38 Gender: M". In the string there are few pv! variables as well so we are anyway using concat function.

OriginalPostID-243075

  Discussion posts and replies are publicly visible

Parents
  • load
    (
    local!firstName:"James",
    local!lastName:"Bond",
    local!fullName1:concat("First Name:",local!firstName," ","Last Name:",local!lastName),
    local!fullName2:"First Name:"&local!firstName&" "&"First Name:"&local!lastName,
    local!fullName3:"First Name:"&padright(local!firstName,10)&"Last Name:"&local!lastName,
    local!fullName3

    )

    Check all 3 variants to get output !
Reply
  • load
    (
    local!firstName:"James",
    local!lastName:"Bond",
    local!fullName1:concat("First Name:",local!firstName," ","Last Name:",local!lastName),
    local!fullName2:"First Name:"&local!firstName&" "&"First Name:"&local!lastName,
    local!fullName3:"First Name:"&padright(local!firstName,10)&"Last Name:"&local!lastName,
    local!fullName3

    )

    Check all 3 variants to get output !
Children
No Data