Click here to Skip to main content
15,918,808 members

Comments by GagKumar (Top 12 by date)

GagKumar 14-Aug-15 11:42am View    
small change i made Regex.Split(data, 0x0A").Select(w=>Encoding.Default.GetBytes(w)) , here i gave space (" 0X0A"), now its working, thanks
GagKumar 11-Aug-15 7:42am View    
hello, thanks for answer, almost near but this position Regex.Split(data, "0x0A").Select(w=>Encoding.Default.GetBytes(w));
'w' is taking whole string not splitting. 0X0A giving 48 88 48 65
GagKumar 11-Aug-15 4:15am View    
yes, i want this as it is because of some compile reasons, is it possible like this?
GagKumar 11-Aug-15 4:00am View    
yes ,its a Hex value which makes line feed, i want this byte array to be compiled in PLC and displays strings with line feed in the Visualization.
GagKumar 11-Aug-15 4:00am View    
Hi DamithSL,thanks for reply, am expected 0x0A as it is in between byte array,
below is what am expecting
72 101 108 108 111 32 0 X 0 A 32 87 111 114 108 100 44 32 72 111 119 32 0X0A 32 97 114 101 32 121 111 117 63