.net - Formatted string parsing and updating -


I need to replace the special marked placeholders in the string with the value I similar to the string. Formats, but in a slightly more advanced way

For example: Input String: "Binding Path = @ Welcome to the City!" @Sitite's value should be "Boston" output string "welcome to Boston".

I can successfully parse the input string with regex and get the value. But I'm just using the string to update the string. Replace If there is a better way to handle updates for such a follower then am I notorious?

But you really only need it if you need a match (ex: multiple {binding path- City} to see a number of places to convert to a string.)


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -