SpeakComputers.com
Home
Software
Electronics
Desktop Computers
Laptops
Games
Handheld Devices
Mobile Phones
Cameras
Camcorders
Printers
Books
Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010
ASP.NET C# VB.NET C++ .NET Infragistics DevComponents

C++ String Class.

The String class is used to display and manipulate strings and text.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Creating a new Sting object.
String^ string = String::Empty;

Assigning a text value to the string object.
string = "This is a text string";

Replacing a value within a string object.
String^ replacestr = string->Replace("text", "TEXT");

Assigning the string object value to a TextBox Text field.
this->textBox1 ->Text = replacestr;

Changing the String Object value to UpperCase.
String^ replacestr = string->ToUpper();

Changing the String Object value to LowerCase.
String^ replacestr = string->ToLower();

Adding 2 string values with the result in a TextBox Text field.
String^ string = "House";
String^ AddString = "White " + string;
this->textBox1->Text = AddString;



C++ String Class Tutorial.
Computer Security
AntiVirus Software
Internet Security
Parental Controls
Backup & Recovery
Computer Protection
Anti Malware
Photo & Video
Photo & Video Editing
Video Music
Desktop Publishing
Professional Design
Home Publishing
Clipart
Business & Accounting
Accounting
Payroll
Check Printing
TAX
H&R Block
Microsoft Office
Design
Graphic Design
Home Design
Garden Design
Interior Design
Computer Aided Design
3D Design
Students & Teacher
Adobe
Microsoft Office
Dragon Naturally Speaking
Corel Draw
Serif
Student/Teacher Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
Home About Privacy Policy Resouces