Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Editing String Length

The following functions determine string lengths and compare strings.

InStr Function

Returns the position of a string within another string.

Len Function

Returns the number of characters in a string, or the number of bytes that are required to store a variable.

StrComp Function

Compares two strings and returns an integer value that represents the result of the comparison.