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

# StrRChrA(3w)

## NAME

**StrRChrA** (SHLWAPI.@)

## SYNOPSIS

LPSTR StrRChrA\
  (\
   LPCSTR *lpszStr*,\
   LPCSTR *lpszEnd*,\
   WORD   *ch*\
  )

## DESCRIPTION

Find the last occurrence of a character in string.

## PARAMS

*lpszStr* **\[In\]**  String to search in.

*lpszEnd* **\[In\]**  Place to end search, or **NULL** to search until the end of *lpszStr*.

*ch* **\[In\]**  Character to search for.

## RETURNS

**Success:** A pointer to the last occurrence of *ch* in *lpszStr* before *lpszEnd*, or **NULL** if not found.

**Failure:** **NULL**, if any arguments are invalid.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
