console

Get-Help for .trim / -trim, .replace / -replace, .split / -split and other string operators

China☆狼群 提交于 2020-11-28 18:13:52
问题 PowerShell has a pretty good built-in help system that I use a lot and I'm able to see all help options with Get-Help * and query Cmdlets or can look up Topics with Get-Help about_* and then say Get-Help about_compar* to open the Comparison Operators topic which is all very good. However, I was trying to find how to get help on the various string operators, like .replace, .compare, .split, .substring. Does anyone know how to pull these topics up on the PowerShell console (possibly, they might

chrome styled 日志

牧云@^-^@ 提交于 2020-11-24 05:31:39
在Java里面有众多日志工具,其实在JavaScript里面也可以有。那么怎么自定义一些样式呢? 在chrome中可以这样: console.log('%cABCDEFG', 'color: red;font-weight:bold;font-size:20px;') 结果: 来源: oschina 链接: https://my.oschina.net/u/574527/blog/117645