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
MySQL error in SQL syntax
How to parse XML string in Oracle procedure ?
Duplicate Databes
Exchange SMTP problems
Getting own send e-mail in Blackberry
vb script to ping hosts and check operating system
Opera 10.x how to find each tab's memory consumption
WebSphere Federated Repositories
Crystal report 2008, draw graph with huge of data.
Move Mailbox Powershell Script (sending Welcome e-mail HTML format)