<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/STRING/

strright.pro

return right subportion from a string

topstrright string handling

result = strright(s, lastn)

Return value

The portion of LASTN characters of S counted from the back.

Parameters

s        in required

the string to be searched

lastn        in required

the number of characters to be returned. Default is 1. If NLAST is ge strlen(STRING), the complete string is returned.

Examples

if (strright(path) ne '/') then path = path + '/'

Version history

Version

$Id: strright.pro 142 2006-07-21 12:47:49Z navarro $

History

mgs, 19 Nov 1997: VERSION 1.00
Produced by IDLdoc 2.0.