Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

Bogza Anton

@Bogza Anton
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Replacing items within a string
    B Bogza Anton

    For example:

    private void SomeForm_Load(object sender, EventArgs e)
    {
    string cifTime = timeCIF.Text;
    string chkCIF = "N";
    emailBody.Text = "Example\nCIF = " + chkCIF + "\nTIME = " + timeCIF.Text;
    }

    private void SomeBtn_Click(object sender, EventArgs e)
    {
    string[] sLines = emailBody.Lines;
    sLines[1] = emailBody.Lines[1].Remove(6, 1).Insert(6, "Y");
    emailBody.Lines = sLines;
    }

    C# tutorial announcement

  • Replacing items within a string
    B Bogza Anton

    emailBody.Text = emailBody.Lines[1].Remove(3, 2).Insert(3, "Y");

    C# tutorial announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups