Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8522615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:10:27+00:00 2026-06-11T07:10:27+00:00

I have a string like string value = Power:'{Comma}’; I need to remove {

  • 0

I have a string like

string value = "Power:'{Comma}'";

I need to remove { and } symbols from the string.

I tried value.Replace(‘{‘, ‘ ‘); and value.Replace(‘}’, ‘ ‘); But this gives space. I dont want space, just want to remove the symbol.

Please suggest.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:10:28+00:00Added an answer on June 11, 2026 at 7:10 am

    Use the overload that takes strings instead of characters, then you can replace with the empty string:

    value = value.Replace("{", "").Replace("}", ""); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this {text}...{text}...{text}...text... I need to replace the text value
A have a string like '<node attr=some_value>' . How to remove attr=some_value from this
I have string like this : <input name=my_name id=my_id value=my_value class=my_class /> I would
I have a coded string that I'd like to retrieve a value from. I
I have a string that looks like: KEY1,ValueKEY2,ValueKey3,Value This string will always vary in
I have a string like this : EQ=ENABLED,QLPUB=50,EPRE=ENABLED how can I ignore, the value
I have a string like this: http://www.example.com/value/1234/different-value How can I extract the 1234 ?
I have a string like this-: st = url=these,url=are,url=test,url=questions Now from this string i
I have a string like this: SUBJECT=Some text here\r\n VALUE=19355711\r\n RCV_VALUE=2851404175\r\n RESULT=1\r\n CNCODE=0\r\n KEY1=1\r\n
I have a string like this, sidePanel[]=1&sidePanel[]=2&sidePanel[]=4 And if I need to add another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.