Friday, July 19, 2013

Strings

String Methods

string a "String";

  • Replace("i", "o");     //Strong
  • Insert(0, "Ham");     //HamString
  • Remove(0, 3);        //ing
  • Substring(0, 3);      //Str
  • ToUpper();            //STRING
  • Length;                  //6


No comments:

Post a Comment