单项选择题

Visual Basic.NET中,字符串处理函数中返回Str字符串的长度的是()。

A.Mid(Str,Start,Lengh)
B.Len(Str)
C.Instr(Star,String1,String2,Compare)
D.Ltrim(Str)