getting whole cost twine contains chr(0)
here sample:
low teststring twine = "hello," & chr(0) & "world"
msgbox(teststring, , "teststring.length=" & teststring.length.tostring)
result - messagebox shows "hello," due says teststring.length=12
i speculation chr(0) treated finish 0 consummated string, nonetheless it's i want.
what right slight work chr(0) ?
i've also attempted asp.net avail. i'm eventuality twine over socket. problem i'm debugging whole twine doesn't supplement up. i need send rather infinite twine it. comes adult unequivocally summary window doesn't worry me. i used above an example. i only need putting churned variables adds justly string. another instance
"score".tostring.padright(8, chr(0)) & "3.0".tostring.padright(10, chr(0)) & "0".tostring.padright(1, "0")
the approaching value score3.00
what i nonetheless score3.0
Comments
Post a Comment