Difference between revisions of "Template:Csharp string functions"
esse quam videri
(Created page with '==String Functions in csharp== string.ToUpper(); string.ToLower(); string.Replace(); etc') |
(→String Functions in csharp) |
||
Line 1: | Line 1: | ||
==String Functions in csharp== | ==String Functions in csharp== | ||
− | string.ToUpper(); | + | To Upper method returns a string that only has upper case letters |
+ | <csharp> | ||
+ | string strName = string.ToUpper("jeff"); | ||
+ | </csharp> | ||
+ | strName will be "JEFF" | ||
+ | |||
+ | <csharp> | ||
string.ToLower(); | string.ToLower(); | ||
+ | </csharp> | ||
string.Replace(); | string.Replace(); | ||
etc | etc |
Revision as of 14:58, 23 September 2010
String Functions in csharp
To Upper method returns a string that only has upper case letters <csharp> string strName = string.ToUpper("jeff"); </csharp>
strName will be "JEFF"
<csharp> string.ToLower(); </csharp>
string.Replace();
etc