Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AT() Function
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00012891
Message ID:
00013249
Views:
32
>>Hi all,
>>.., the value returned to my login function looks like this
>>lcLoginString = "jpaskett,ADMINISTRATOR,*******"
>
>Forget all that LEFT(),SUBSTR(), and AT() junk.
>Here's the way to get at the tokens in a string like yours.
>
>* Given that lcLoginString = "jpaskett,ADMINISTRATOR,*******"
>lclLoginString=ChrTran(lcLoginString , "," ,chr(13))
>cUser=MLine(lcLoginString ,1)
>cTItle=MLine(lcLoginString ,2)
>cPassword=MLine(lcLoginString ,3)
>
>Incidently, there are also some helpful string functions in Foxtool.FLL that are a breeze to use.

Thanks Mark,

This will make it easier to change my passwords and user level access. I need to learn more about this foxtool.FFL file! Currently all this information is encrypted in a single, 45 character field, delimited by the commas and padded with a tilde.

Jon
Jon Paskett

Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!
Previous
Reply
Map
View

Click here to load this message in the networking platform