String functions

String functions include such functions as examining individual characters of a sequence, searching strings, extracting substrings, and creating a copy of a string with characters translated to upper or lowercase.

char
Return a Unicode character specified by a code number.

getsetting
Retrieve the current value of a built-in or a user-defined setting.

instr
Return an integer value specifying the start position of the first occurrence of one string within another. The search for the substring begins at a specified position.

left
Return a substring containing a specified number of characters from the left side of a string.

length
Return the number of characters in a string.

lowercase
Return a copy of the specified source string in lowercase.

mid
Return a substring of a given source string, specifying the substring’s size as well as its starting location within the source.

newline
Return a special character signifying the end of a line of text.

right
Return a substring containing a specified number of characters from the right side of a string.

tab
Return a horizontal tab character.

trim
Return a substring of a specified source string, in which all leading and trailing white space has been removed.

uppercase
Return a copy of the specified source string in uppercase.


Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333