Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/String-length/Visual-Basic-.NET/string-length-1.vb
Normal file
5
Task/String-length/Visual-Basic-.NET/string-length-1.vb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Module ByteLength
|
||||
Function GetByteLength(s As String, encoding As Text.Encoding) As Integer
|
||||
Return encoding.GetByteCount(s)
|
||||
End Function
|
||||
End Module
|
||||
Loading…
Add table
Add a link
Reference in a new issue