Skip to main content
edited tags
Link
q9f
  • 33k
  • 47
  • 157
  • 399
Source Link
Pabi
  • 1.1k
  • 4
  • 11
  • 18

Solidity concatenate uint into a string?

How would I concatenate an integer into a string using solidity?

For instance, say I have the following:

uint myInteger = 12

How can I create the following string "My integer is: 12" with 12 being the value of myInteger.

In other words have, "My integer is: " + myInteger