RTrim


Definition: Returns a copy of a string without trailing spaces.

 

In VBScript the RTrimfunction is used to remove any blank spaces that appear at the end of a string; in Windows PowerShell, you can carry out this same task by using the TrimEnd() method. For example, these two commands assign a string value to the variable $a, then use the TrimEnd () method to remove the blank spaces from the end of the string (note that, for illustration purposes, we’ve used dots to represent blank spaces):

 

$a ="..........123456789.........."
$a = $ a.TrimEnd ()

 

When you run this command and then echo back the value of $ a youshould get the following:

 

..........123456789

 

 

 

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.