Tony's Blogger
2017年5月19日 星期五
Angular2 字串連接
在 Angular2 中
當字串連接的時候 使用 ` 來取代 '
就可以不用多打字串連接的加號
例如
'<div></div>'+
'<div></div>'
↓
`<div></div>
<div></div>`
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
remove last word from SQL query
SET @columnSql = SUBSTRING ( @columnSql , 1 , LEN ( @columnSql ) - 1 )
Visual Studio 無法叫用中斷點
解決 Visual Studio 無法叫用中斷點 原始程式碼與原始版本不同 1.把 Visual Studio 關掉 2.把專案中的 bin obj 資料夾刪掉 3.重開 Visual Studio 並建置 完成
remove last word from SQL query
SET @columnSql = SUBSTRING ( @columnSql , 1 , LEN ( @columnSql ) - 1 )
C# 日期字串統一格式
//// 定義日期字串 string dateString = "2018/03/10" ; //// 字串 -> DateTime DateTime datetime = Convert . ToDateTime ( dateString )...
沒有留言:
張貼留言