Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Compare leftmost character


If Left$(MyString,1) = "L"

'is same as

If Chr $( Asc (MyString)) = "L"