Posted on: 5/19/2015 3:56:26 AM | Views : 618

Hello...
Let say, I receive string in format - PAYMENT_METHOD=XXX; MERCHANTID=XX;MERCHANT_TRANID=XXX;ERR_CODE=XX;ERR_DESC=XXXXXXX;FRAUDRISKLEVEL=XXX . My string format start without ; and ending without ; .
PAYMENT_METHOD, MERCHANTID, MERCHANT_TRANID, ERR_CODE, ERR_DESC, FRAUDRISKLEVEL is constant. XXXX is a variable. Semicolon (;) is a delimeter
This is my code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="paymentResponseString.aspx.cs" Inherits="paymentResponseString" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Process string...</title> </head> <body> <form id="form1" runat="server"> <d ...

Go to the complete details ...