Chapter Contents

Previous

Next
KCOMPARE

KCOMPARE



Returns the result of a comparison of character strings

Category: DBCS


Syntax
Arguments
Details

Syntax

KCOMPARE(source,<pos, <count,>>findstr)

Arguments

source
specifies the character string to be compared.

pos
specifies the starting position in source to begin the comparison. If pos is omitted, the entire source is compared. If pos is less than 0, source is assumed as extended DBCS data that does not contain any SO/SI characters.

count
specifies the number of bytes to compare. If count is omitted, all of source that follows pos is compared, except for any trailing blanks.

findstr
specifies the character string to compare to source.


Details

KCOMPARE returns


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.