problem while replacing _ with &
while formatting the string by using String.Format() with message "john & berry's",
it displays like "john _berry's".
& is replace by _
[code]
String.Format(StringHelper.GetFASMessagingValue("ListAddOptionConfirm"), Masking == null ? valueMember.Replace(@"&",@"\&") : new string(Masking.MaskedText).Replace(@"&",@"\&"), fieldName);
[\code]
please provide the solution
Re: problem while replacing _ with &
"john && berry's"
The '&' character is used as the hot key. You escape it with a second '&' char.