Codeitbetter - codeitbetter.com - CodeItBetter
General Information:
Latest News:
How to return a Padded String with Blanks on Right 1 May 2012 | 05:43 pm
1 2 3 4 5 6 'String Manipulation - How to return return a Padded String with Blanks on Right Option Explicit Public Function PadR(ByVal strExpression As String, ByVal iWidth As Integer) As String Pa...
How to return everything between ‘string2′ in ‘string1′ 21 Feb 2012 | 01:30 am
1 2 3 4 5 6 7 8 9 10 11 12 'String Manipulation - How to return everything between 'string2' in 'string1' Option Explicit Public Function GetStringBetween(ByVal sExpression As String, ByVal sStartSt...
How to return everything before ‘string2′ in ‘string1′ 20 Feb 2012 | 01:30 pm
1 2 3 4 5 6 7 8 9 10 'String Manipulation - How to return everything before 'string2' in 'string1' Option Explicit Public Function SubstringBefore(ByVal sString1 As String, ByVal sString2 As String)...
How to return everything after ‘string2′ in ‘string1′ 20 Feb 2012 | 01:31 am
1 2 3 4 5 6 7 8 9 10 'String Manipulation - How to return everything after 'string2' in 'string1' Option Explicit Public Function SubstringAfter(ByVal sString1 As String, ByVal sString2 As String) D...
How to check if a given string ends with a given substring 19 Feb 2012 | 01:33 pm
1 2 3 4 5 6 'String Manipulation - How to check if a given string ends with a given substring Option Explicit Public Function IsEndsWith(ByVal sSource As String, ByVal sText As String) As Boolean Is...