GetDelimitedText – Extract the text between open and close delimiters
‘ get the text enclosed between two Delimiters” it advances Index after the close delimiter’ Returns “” and Index = -1 if not found’ search is case sensitive’ ‘ For
‘ get the text enclosed between two Delimiters” it advances Index after the close delimiter’ Returns “” and Index = -1 if not found’ search is case sensitive’ ‘ For
‘ split a string, dealing correctly with quoted items” TEXT is the string to be split’ SEPARATOR is the separator char (default is comma)’ QUOTES is the character used to
You can easily add a link in your ASP and ASP.NET pages that, when clicked, runs the default mail program (e.g. Outlook) and allows the user to send a message
‘ Returns True if a string contains only lowercase charactersFunction IsStringLower(ByVal sText As String) As Boolean Dim c As Char For Each c In sText If Not Char.IsLower(c) Then Return
‘ Returns True if a string contains only uppercase charactersFunction IsStringUpper(ByVal sText As String) As Boolean Dim c As Char For Each c In sText If Not Char.IsUpper(c) Then Return
‘ convert from hexadecimal to decimalFunction HexToDec(ByVal value As String) As Long ‘ we just need a call to the Convert.ToInt64 static method Return Convert.ToInt64(value, 16)End Function
// this Command will return the server Names running on local NetworkExec Master..xp_CmdShell ‘osql -L’OUTPUT Eg:Servers: Server1 Server2 Server3 Server4 Server5
Include the following definition: #include The function definition goes like: JNIEXPORT jboolean JNICALL MethodName( JNIEnv *env,/*env variable: must*/ jstring functionId,/*String variable*/ jobject objectId/*Object variable*/){ const char *str = env->GetStringUTFChars( functionId,
There are several cases where you may write algorithms only to find missing numbers in a sequence. There is an efficient way to do this. Let’s say you have a