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.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public static string Substr(
	this string me,
	int start,
	int? length = null
)

Parameters

me  String

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

start  Int32

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

length  NullableInt32  (Optional)

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

Return Value

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