Click or drag to resize

QueryModelExtensionsSubstr Method

Gets the first characters

Namespace:  SanteDB.Core.Model.Query
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax
public static string Substr(
	this string me,
	int start,
	int? length = null
)

Parameters

me
Type: SystemString

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Model.Query.QueryModelExtensions.Substr(System.String,System.Int32,System.Nullable{System.Int32})"]

start
Type: SystemInt32

[Missing <param name="start"/> documentation for "M:SanteDB.Core.Model.Query.QueryModelExtensions.Substr(System.String,System.Int32,System.Nullable{System.Int32})"]

length (Optional)
Type: SystemNullableInt32

[Missing <param name="length"/> documentation for "M:SanteDB.Core.Model.Query.QueryModelExtensions.Substr(System.String,System.Int32,System.Nullable{System.Int32})"]

Return Value

Type: String

[Missing <returns> documentation for "M:SanteDB.Core.Model.Query.QueryModelExtensions.Substr(System.String,System.Int32,System.Nullable{System.Int32})"]

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).
See Also