---
layout: doc
title: strings / stringp
---
# stringp

### NAME

    stringp() - determine whether or not a given variable is a string

### SYNOPSIS

    int stringp( mixed arg );

### DESCRIPTION

    Return 1 if 'arg' is a string.

### SEE ALSO

    mapp(3),  pointerp(3), objectp(3), intp(3), bufferp(3), floatp(3) func‐
    tionp(3), nullp(3), undefinedp(3), errorp(3)
