megalene
Programmer
- Jan 4, 2001
- 31
I am busy converting my ASP code to ASP.NET and I have come accross an error with the LEN() method. Is there a different way to get a string length in .NET? Here is my coded string ::
if Len(asContents) Mod 4 > 0 Then asContents = asContents & String(4 - (Len(asContents) Mod 4), " "
This is where is errors on saying the folowing ::
Name 'Len' is not declared.
Thanks for any help. Megalene
If you crap it will stink!
if Len(asContents) Mod 4 > 0 Then asContents = asContents & String(4 - (Len(asContents) Mod 4), " "
This is where is errors on saying the folowing ::
Name 'Len' is not declared.
Thanks for any help. Megalene
If you crap it will stink!