Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
does [array]::Reverse() work on your setup?
Author Summary
Lee_Dailey is in array
Post Body

howdy y'all,

[never mind. [blush] i forgot that it does an IN PLACE reverse and the result is put back into the array, not sent to the output.]

i saw this thread ...
Shortest Script Challenge - Palindrome Tester
— https://www.reddit.com/r/PowerShell/comments/7it9rh/shortest_script_challenge_palindrome_tester/

... and thot that the [array]::Reverse() method would be one way to handle it.

i get nothing from that. all the examples i can find also give me nothing. no output at all, nothing gets assigned if i try to assign it to something.

the annoying thing is that it DID work several months ago. that code does not work now.

has something changed? is my setup glitched?

system & PoSh info ...

os = win7x64, fully patched   

Name                           Value
----                           -----
PSVersion                      5.1.14409.1012
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1012
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

take care,
lee

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
27,226
Link Karma
672
Comment Karma
25,727
Profile updated: 3 days ago
Posts updated: 8 months ago
[grin]

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago