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

# StrChrA(3w)

## NAME

**StrChrA** (SHLWAPI.@)

## SYNOPSIS

LPSTR StrChrA\
  (\
   LPCSTR *lpszStr*,\
   WORD   *ch*\
  )

## DESCRIPTION

Find a given character in a string.

## PARAMS

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

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

## RETURNS

**Success:** A pointer to the first occurrence of *ch* in *lpszStr*, 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"**.
