skip to main
|
skip to sidebar
Using String In Csharp
String In Csharp
Reverse String in C#
Extract Numbers From String
Locate string on webpage
Detect if string is numeric
Convert ArrayList to string[]
Accept Only Numeric
Protect string content by marshalling
Saturday, May 30, 2009
Reverse String in C#
public string strReverse(string s)
{
int j=0;
char[] c=new char[s.Length];
for(int i=s.Length-1;i>=0;i--) c[j++]=s[i];
return new string(c);
}
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
All Menu
Silly Problems
Basic Silverlight
COM In Csharp
Array
Date and Time
Encryption
Files and Directories
Graphics
HTML,XML , and Internet
Misc
Sound
String
System Programing
Followers
About Me
Avinash Tiwari
View my complete profile
No comments:
Post a Comment