Posts tagged "string"

How to Split and Merge a String Value

Today we will discuss two main operation that can be performed with String while developing an application in ASP.NET. First let me explain these two terms. Split is the term in which we break a string value to multiple string values. The splitting is performed with a specific separator  value. Suppose we need to split a date like “12-09-2011″. Then in that case the separator values is “-” and after split the string we will save the three different values in different different variables. The another term Merge is the reverse process of Split. Merging the values makes multiple values into a single value. In this article I will discuss these two operation with example.


Read More →

How to Encrypt and Decrypt String in C#.NET

In Cryptography, Encryption is the process of transforming information using an algorithm to make it unreadable to anyone except those possessing special knowledge, usually referred to as a key. The result of the process is encrypted information. And the reversed form of Encryption is called Decryption. The process of making the encrypted information readable again is called Decryption. So my friends! How to use this technique in .NET so that we can make our confidential information unreadable to others and also we can easily change the information in readable form when required. Today I am going to share a project on Encryption and Decryption in .NET.

Read More →