J
John A Grandy
what are the preferred VB.NET analogues for IsNumeric() and Len() and CInt()
& similar string-manipulation functions in VB6
& similar string-manipulation functions in VB6
what are the preferred VB.NET analogues for IsNumeric() and Len() and CInt()
& similar string-manipulation functions in VB6
what are the preferred VB.NET analogues for IsNumeric() and Len() and
CInt() & similar string-manipulation functions in VB6
Justin Weinberg said:len - string.length
ACK.
cint - ctype("x", int32)
There isn't an analogous IsNumeric to my knowledge (but
IsNumeric is still there! Go VB!). A C# programmer would
try int32.Parse or the appropriate type and take action on an
exception.
William Ryan said:As a suggestion though, look through the string and
regex classes, there is a lot of backward compatibility
in VB.NET for VB6, but that doesn't necessarily mean
you should use it.
John A Grandy said:what are the preferred VB.NET analogues for
IsNumeric() and Len() and CInt() & similar string-
manipulation functions in VB6