Is there a way to write something like this in Powershell? (Linux will be with Perl)
char foo = '\x41';
I need to enter some non-printable characters in one of my programs
You can do an int listing before char .
With decimal number:
$foo = (65 -as [char])
And from hexa:
$foo = (0x41 -as [char])
Both will pass you $fooinA
$foo
A
Source: https://habr.com/ru/post/1547550/More articles:Postgresql: How to select the top n percent (%) of records from each group / category - sqlHttpClient response not updating - c #Why does HttpClient always give me the same answer? - c #Switch "active" class between li by bootstrap - javascriptWhat method did Apple replace dragImage with? - objective-cFocus on the element of the first form, if it is Text, Password or a dropdown menu - javascriptThe purpose of the double structure - c ++Will LibGDX support 3D as Unity3D - androidFile "FacebookSDK / FacebookSDK.h" not found - iosCordova Media will not play mp3 from www - androidAll Articles