---
name: "StrTrimA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/StrTrimA"
---

# StrTrimA(3w)

## NAME

**StrTrimA** (SHLWAPI.@)

## SYNOPSIS

BOOL StrTrimA\
  (\
   LPSTR  *lpszStr*,\
   LPCSTR *lpszTrim*\
  )

## DESCRIPTION

Remove characters from the start and end of a string.

## PARAMS

*lpszStr* **\[Out\]**  String to remove characters from.

*lpszTrim* **\[In\]**  Characters to remove from *lpszStr*.

## RETURNS

**TRUE** If *lpszStr* was valid and modified **FALSE** Otherwise

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/string.c"**.

Debug channel **"shell"**.
