right: Extract x right characters of a string

rightR Documentation

Description

This function allow to extract the x last character of a string (Character are counted from the end) It could be used to extract the last part of a string To retrieve extension of a file use fileExt instead

Usage

right(text, num_char)

Arguments

text

Text to extract from

num_char

Number of char to extract from right

Value

num_char extracted characters from right side

Examples

right("dummy_example",7)
right("data_completed_2022",4)



Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.