MPE/iX Quick Reference Guide (32650-90881)

Chapter 6 171
System Debug
Debugging your system
strltrim:str (
source
:str)
func strmax
String maximum. Returns the (constant) maximum size of a string.
strmax (
source
)
Formal Declaration
strmax:u32 (
source
:str)
func strpos
String position. Returns the index of the first occurrence of one string in another.
strpos (
source searchstring
[
position
])
Formal Declaration
strpos:u32 (
source
:str
searchstring
:str [
position
:u32=1])
func strrpt
String repeat. Returns a string composed of repeated occurrences of a source string.
strrpt (
source count
)
Formal Declaration
strrpt:str (
source
:str
count
:u32)
func strrtrim
String right trim. Deletes trailing blanks from the source string.
strrtrim (
source
)
Formal Declaration
strrtrim:str (
source
:str)
func strup
String upshift. Returns a string which is the result of upshifting all alphabetic characters
in the source string.
strup (
source
)
Formal Declaration
strup:str (
source
:str)
func strwrite
Returns a string which is the result of formatting one or more expressions in a manner
equivalent to that of the W (WRITE) command.
strwrite (
valuelist
)