有如下代码: 
       String A = this.FCKeditor1.Value;
         A= Replace("宋", "*");
         this.Label1.Text = A;
在编译的时候提示没有Replace函数,Replace不是库函数吗?该怎么使用?

解决方案 »

  1.   

    String A = this.FCKeditor1.Value;
      A= A.Replace("宋", "*");
      this.Label1.Text = A;
      

  2.   

                String str = "ABCDEAAA";
                str = str.Replace("A","O");            Console.WriteLine(str);
      

  3.   

    this.Label1.Text = this.FCKeditor1.Value.Replace("宋", "*");
      

  4.   

    楼主撞墙去:A= A.Replace("宋", "*");
      

  5.   

    哎,这么简单的问题也拿上来csdn来