RosettaCodeData/Task/String-prepend/00-TASK.txt

18 lines
535 B
Plaintext

{{basic data operation}}
[[Category:String manipulation]]
[[Category: String manipulation]]
[[Category:Simple]]
{{omit from|bc|No string operations in bc}}
{{omit from|dc|No string operations in dc}}
;Task:
Create a string variable equal to any text value.
Prepend the string variable with another string literal.
If your language supports any idiomatic ways to do this without referring to the variable twice in one expression, include such solutions.
To illustrate the operation, show the content of the variable.
<br><br>