/// <summary>
/// Removes all leading and trailing spaces from a string.
/// </summary>
/// <param name="pszPath">A pointer to a null-terminated string of length MAX_PATH from which to strip all leading and trailing spaces.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveBlanksW", SetLastError = True, CharSet = CharSet.Unicode)]
static extern void PathRemoveBlanks([MarshalAs(UnmanagedType.LPTStr)]lpszString As String);
''' <summary>
''' Removes all leading and trailing spaces from a string.
''' </summary>
''' <param name="pszPath">A pointer to a null-terminated string of length MAX_PATH from which to strip all leading and trailing spaces.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveBlanksW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
Public sub PathRemoveBlanks(<MarshalAs(UnmanagedType.LPTStr)>lpszString As String)
End sub
Public Declare Sub PathRemoveBlanks Lib "shlwapi" Alias "PathRemoveBlanksA" _
(ByVal lpszString As String)
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!