Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Replace a part from String - C#
C
C#
•
4y ago
•
2 replies
Zerraq
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
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Trying to replace a string in a JSON not replacing
C
C# / help
3y ago
Extracting string from string?
C
C# / help
4y ago
Creating an Array of strings from a stringified JSON
C
C# / help
4y ago
Calling a function from a string.
C
C# / help
4y ago