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
Audit Report Generation SharePoint Content Viewing
Windows 7 Printing
how to stop sql execution on refreshing a page or closing a browser
Looking for vista drivers for Sony pcg-8112l vista laptop
Globally change the Blackberry Service Display name
XP 10 inbound connection limit question
Host or domain name not found - Name service error
Porting IP Range when changing ISP
Still having issues pinging from one subnet to another through ASA 5510
Exchange 2010 and /exchange error