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
Connect to an XenServer within iPhone
Documentation on SAMBA and Active Directory Integration
namespace question
MSG 3930 error in sqlserver2008
VMware, vSphere Virtual Machine and Disk Errors "invalid disk type 7" and "cannot detect guest operating system type"
Enterprise Network System File Check
Printer Migration from Windows 2003 to Windows 2008 R2
What is a strong name?
OEM Crystal Viewer vs 3rd Party Crystal Viewer
How to get rid of annoying outlook logon windows