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