Jump to content

String append: Difference between revisions

clarify how this task is different from mere concatenation
No edit summary
(clarify how this task is different from mere concatenation)
Line 1:
{{task|Basic language learning}}[[Category:String manipulation]][[Category: String manipulation]]{{basic data operation}}
Most languages provide a way to concatenate two string values, but some languages also provide a convenient way to append in-place to an existing string variable.
CreateFor this task, create a string variable equal to any text value. Append the string variable with another string literal, without copying if your language supports it, with copying otherwise.
 
To illustrateShow the operation,contents showof the contentvariable ofafter the variableappend operation.
 
=={{header|ALGOL 68}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.