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
IIS 6.0 asp.net 2.0 cpu performance issue
Sed help
PXE-E55: ProxyDHCP service did not reply to request on port 4011 Using SCCM 2007
Transfer XP Pro client membership from workgroup to Domain
how to open the PDF in a new browser window using jsf ?
PHP calling URL (which domain got me here?) PATH_INFO?
T-SQL: Count number of tables in the DB (SQL server 2008)
Excel VBA Select All File Types From a Specified Folder
How would I edit the code for additional levels from: How can I prep text files for import into Excel that are in subheading formats?
Delete query (sql)