Applies To
SharePoint Server Subscription Edition SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 Enterprise SharePoint in Microsoft 365 SharePoint Foundation 2010 SharePoint Server 2010 SharePoint in Microsoft 365 Small Business Windows SharePoint Services 3.0

傳回文字字串中第一個字元的字碼。 傳回的代碼會對應至您電腦所使用的字元集。

語法

代碼 (文字)

Text     是您要文字字串中第一個字元之程式代碼的文字。

範例

公式

描述 (結果)

=CODE("A")

顯示 A (65) 的數值代碼

=CODE("!")

顯示 ! 的字碼 (33)

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。