---
name: "FcStrStr"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcStrStr"
---

# FcStrStr(3)

locate UTF-8 substring

## NAME

FcStrStr - locate UTF-8 substring

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**FcChar8 \* FcStrStr (const FcChar8 \****s1***, const FcChar8 \****s2***);**

## DESCRIPTION

Returns the location of *s2* in *s1*.  Returns NULL if *s2* is not present in *s1*. This test will operate properly with UTF8 encoded strings.
