#Built in types documentation
7 messages · Page 1 of 1 (latest)
Are you looking fort his ?
https://docs.rs/soroban-sdk/20.0.0-rc2/soroban_sdk/index.html
Soroban SDK supports writing programs for the Soroban smart contract platform.
Do you know how to join two strings together
you currently need to convert to bytes and manipulate them
Alright. Could you send me a code snippet if you have done so already
I generally don't work with strings in contracts so haven't done it already, but you can check #🔹|developer-chat message. It's not the same thing as joining strings but it shows the conversion from a string to bytes, then it's really just about concatenating the bytes and converting the back to a str (from_utf8) and then str to string via String::from_slice.
yeah, I just wanted to say that string support definitely can be improved, BUT chances are you don't actually want to deal with strings. unless you're building custom messaging protocols (e.g. a bridge), you should be able to do pretty much anything with the contracttypes