• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
KXLF’s blog
能转的不写
   首页    新随笔    联系   管理     
2011年12月5日
[转]How to use String.Format in PowerShell?(如何在PowerShell中使用string.format?)
摘要: Hah! (We’re back;-) ) It’s as easy as that:PS >[string]::Format("Hello {0} {1} :-)","Daniel","Walzenbach")Hello Daniel Walzenbach :-)Needless to say that other formatting – like Currency formatting – works as wellPS >[string]::Format("{0:C}",1234567890)$ 阅读全文
posted @ 2011-12-05 10:26 KXLF 阅读(1041) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3