PS C:\> [string]::Join('', >> $( >> switch( 'VicTor'.ToCharArray() ) >> { >> {[char]::IsLower($_)} {[char]::ToUpper($_)} >> {[char]::IsUpper($_)} {[char]::ToLower($_)} >> } >> ) >> ) >> vICtOR |
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |