| 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
)
<ExtensionAttribute>
Public Shared Function Substr (
me As String,
start As Integer,
Optional length As Integer? = Nothing
) As String
public:
[ExtensionAttribute]
static String^ Substr(
String^ me,
int start,
Nullable<int> length = nullptr
)
[<ExtensionAttribute>]
static member Substr :
me : string *
start : int *
?length : Nullable<int>
(* Defaults:
let _length = defaultArg length null
*)
-> string
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