Replace a part from String
Hello guys, I need help with a string (URL is the value in the string)
basically my code picks the correct message-template from a JSON file. And now i want to replace the "BaseUri" and the "Id".
The value I get from the JSON:
"MessageTemplate": "@BaseUri/@id"
i want this to -> "https://google.com/id" (example)
I appreciate the help ❤️
2 Replies
String.Replace Method (System)
Returns a new string in which all occurrences of a specified Unicode character or String in the current string are replaced with another specified Unicode character or String.
Thank you!