Remove line feed while conactinating two variables

Author: lalitpct@gmail.com (lalitpct)


Remove line feed while conactinating two variables

Trying to concatenate 2 variables , but $1 has a line feed so after concatenation i get output in two lines
eg $1=abd
   $2=gfg
   $3=$concat($1, $2)
  
   $3 = abd
        gfg
       
ANyone have idea know how to remove line feed .

1 Comment

  1. $replace($1,1,"%%^","",-1) - Removes all line feeds $rtrim($1,"%%^") - Removes all line feeds at the end of the string.


    Author: Iain Sharp (i.sharp@pcisystems.co.uk)