Navigation:  Reference > Functions By Category > Strings >

pStrBitOr()

Previous pageReturn to chapter overviewNext page

Perform a bitwise OR operation within the BYTES of 2 provided strings.

Syntax:

pStrBitOR(<pStr>,<nStrLen>,<pStr2>,<nStr2Len>,<lRotate>) -> pStr

Parameters:

<pStr>

Memory pointer to the source string.

<nStrLen>

Size in bytes of the source string.

<pStr2>

Memory pointer to the operand string.

<nStr2Len>

Size in bytes of the operand string.

<lRotate>

Optional parameter. If <nStrLen> is smaller than <nStr2Len> and this parameter is set to .T. the bytes of <pStr2> will be used to transform the source string in a loop up to <nStrLen>.