ParseData

Parses the passed string.

Syntax:

ParseData (string)

Parameters:

(s) string string to be parsed.

Returns:

(i)  number of parameters in string.

 

This function breaks a string constant or string variable into new sub-string variables named param1, param2, etc. Blank spaces in the original string are used as delimiters to create the new variables.

Param0 is the count of how many sub-strings are found in "string".

Example:


data = "Alpha Bravo Charlie Delta"
ParseData(data)
reverse = StrCat(param4," ",param3," ",param2," ",param1)
Message(data,reverse)
See Also:

ItemExtract, StrSub