Visual Basic (Declaration) | |
---|---|
Public Shared Function RemoveLastOccurrenceOf( _ ByVal inputString As String, _ ByVal character As Char _ ) As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim inputString As String Dim character As Char Dim value As String value = Common.RemoveLastOccurrenceOf(inputString, character) |
C# | |
---|---|
public static string RemoveLastOccurrenceOf( string inputString, char character ) |
C++/CLI | |
---|---|
public: static String^ RemoveLastOccurrenceOf( String^ inputString, char character ) |
Parameters
- inputString
- character
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2