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

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?