I'm doing the following and having trouble with the left function.

uname = Space(255)
sDatabase = GetPrivateProfileString("Data", "Database", "Can't be Read",
uname, 255, "c:\databases\data.ini")
sDatabase = Left$(uname, sDatabase)

----> What's the .NET way for getting the value for this. Any ideas???

Thanks in advance..!!

Jim