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
Asterisk 1.4 assigning outbound routes based on extension
is there a way to boot to an attached drive
Microsoft Information Store stalling issues
Data insert wizard php/mysql
return double array in Delphi call to c++
New ESXi 4 Host (not responding) in vCenter
MAcbook Pro refuses to connect via ethernet but works via wifi
Unable to receive email forwarded into Lotus Domino 8 from Exchange Server 2007
Show Date time on webpage -coldfusion,jquery
Decommissioning a xenserver / removing from xencenter pool