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
How do you create a manual SOAP request to a web service in C#?
You Do Not Have Permission To Send On Behalf Of The Scified User
Creating a new Array and Logical Drive
Is there a way to format an external drive so Linux and Windwos 7 can see it?
Network issues loading company web-site
how do I conditionally format number in query result to show red if negative
In between Asterisk BLF
Exclamation Mark On Network Card After Virus Removal
assignment format.
transfering a directory with multiple files in parallel