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
Keep file ownership when using Rsync
How can I prevent my object being overwritten in a for loop?
Where can I find free borders to download?
If IE6 use another .css file.
Do I have to be on domain to FTP?
Conversion failed when converting from a character string to uniqueidentifier.
Formula to split Names
need help with select statement
Cast Question for Crystal Reports
All network adapters displaying yellow explanation marks