kcwallace
Centurion
Visual Basic:
Dim TmpTxt as String="O'Niel"
TmpTxt.Replace(Chr(39), "'+char(39)+'")
would yield
O'+char(39)+'Niel
I get THis Error:
The name 'Chr' does not exist in the current context
Dim TmpTxt as String="O'Niel"
TmpTxt.Replace(Chr(39), "'+char(39)+'")
string TmpTxt = "O'Niel";
TmpTxt = TmpTxt.Replace('\'', "\+char(39)+'");
// TmpTxt now equals: O'+char(39)+'Niel
char backSlash = Convert.ToChar("\u005C");
string[] arr=iStr.Split(backSlash);
kcwallace said:is there a way that I can use literal strings as paramaters