Microsoft
Software
Hardware
Network
Question : How do you TRIM n characters from a string from the right.
I should trim last name of a employee to 18 characters even though if I get a 30 character last name from the database.
What is the best way to do that ? any help would be greatly appreciated.
Thanks
Answer : How do you TRIM n characters from a string from the right.
That's actually among the best ways to do it. You can remove the PadRight from the Substring.PadRight because you're already guaranteed 18 length.
Random Solutions
Excel VBA code to automatically set a Pivot Table filter on 2 specific values in a field
OS X Mail attachments - drag all
Delete temporary internet files?
Replace Line breaks with spaces using VB in Excel
SAS 9.1 - Excel Import
Intel Core 2 Quad CPU Overheating Issues
Set site as read only to everyone
How do I unlock an Imation flash drive
Error message when replying, sending, openning email in OWA
I have an Exchange 2003 on a SBS2003 and I need it to handle 2 or more email domains