General information
Category:
Coding, syntax & commands
>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only