Skip to content

dos_strright

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Extracts the right part of a string (like the Basic RIGHT$ function).

Syntax

(dos_strright string count)

Parameters

string

A string.

count

The number of characters to extract from string. If count exceeds the length of string, then the entire string is extracted.

Returns

A string that contains a copy of the specified range of characters if successful.

nil on error.

Example

Command: (dos_strright "AutoCAD 2010" 4)
"2010"

Clone this wiki locally