Add prefix to string if it doesn't already have it
ensurePrefix("1234bbcc", "0x") -> "0x1234bbcc" Copy
ensurePrefix("1234bbcc", "0x") -> "0x1234bbcc"
ensurePrefix("0x1234bbcc", "0x") -> "0x1234bbcc" Copy
ensurePrefix("0x1234bbcc", "0x") -> "0x1234bbcc"
string to add prefix to
prefix to add
Add prefix to string if it doesn't already have it
Example
Example