|
-
September 16th, 2005, 02:25 PM
#11
Re: extra spaces in string when returned from a dll
yes to the first question
tFSR and tFSL are the same functions in the dll. Just making a check for this example. Here they are.
'this function right justifies FSString into a field StrinLen long.
Public Function tFSR(FSString As String, StrinLen As Integer) As String
tFSR = Format$(Right$((FSString), StrinLen), String(StrinLen, "@"))
End Function
'this function left justifies FSString into a field StrinLen long.
Public Function tFSL(FSString As String, StrinLen As Integer) As String
tFSL = Format$(Left$((FSString), StrinLen), "!" & String(StrinLen, "@"))
End Function
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|