CoreExtensionToHalf Method

轉換半形字串

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 25.0.3.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
C#
public static string ToHalf(
	this string dataString
)

Parameters

dataString  String
資料字串

Return Value

String
處理結果字串

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Example

C#
var halfString = "測試資料(1)".ToHalf();

Revision History

DateVersionDescription
2025/08/072.2.8.0加入轉換半形字串功能
2025/09/1925.0.0.0彙整2025年度初版

See Also