Making fixed length strings (Great for working with EDI files)
by Luis Correa (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Wed 6th March 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Making fixed length strings (Great for working with EDI files)
Rate Making fixed length strings (Great for working with EDI files)
Element = Data & String$(Length - Len(Data), " ")
End Function
'Example:
'MyString = Element("850",6) returns "850 "
Download this snippet
Add to My Saved Code
Making fixed length strings (Great for working with EDI files) Comments
No comments have been posted about Making fixed length strings (Great for working with EDI files). Why not be the first to post a comment about Making fixed length strings (Great for working with EDI files).
Post your comment