 | QueryModelExtensionsSubstr Method |
Gets the first characters
Namespace: SanteDB.Core.Model.QueryAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic 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 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