DIPlib Documentation - ©1995-2014 Quantitative Imaging Group, Delft University of Technology.

StringCrop

Crop a string

SYNOPSIS

#include "dip_string.h"

dip_Error dip_StringCrop ( str, length )

FUNCTION

Crops str to length characters.

ARGUMENTS

Data typeNameDescription
dip_StringstrString to be cropped
dip_intlengthNew string length

SEE ALSO

StringAppend, StringCat, StringCompare, StringCompareCaseInsensitive, StringCopy, StringNew, StringReplace, UnderscoreSpaces