Add $append to the end of first line or all lines of $string

string:append($string, STRING $append, BOOL $multiline=FALSE) : STRING

string:append('hello',' world 2')
#=> "hello world 2"

string:append('this','that')
#=> "thisthat"

$multiple_lines = "this 
that
other"
string:append($multiple_lines,'>', true)
#=> "this>\nthat>\nother>"

string:append(1,'2')
#=> 12

Copyright ©2013-2022 SunSed®. All rights reserved.