Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PosA – PB Docs 2022 – PowerBuilder Library

PosA – PB Docs 2022

PosA

DataWindow expression function

Description

Finds one string within another string.

Syntax

Argument

Description

string1

The string in which you want to find
string2.

string2

The string you want to find in
string1.

start (optional)

A long indicating the position in bytes where the
search will begin in string. The default is 1.

Return value

Long. Returns a long whose value is the starting position of the
first occurrence of string2 in string1 after the position in bytes
specified in start. If string2 is not found in string1 or if start is not
within string1, PosA returns 0.

Usage

PosA replaces the functionality that Pos had in DBCS environments in
PowerBuilder 9. In SBCS environments, Pos and PosA return the same
results.

See also

LastPos

LeftA

MidA

Pos

RightA

PosA in the section called “PosA” in PowerScript Reference


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x