Learn R Programming

MadanText (version 0.1.0)

funmi: Modify Persian Words Starting with 'Persian text here'

Description

This function modifies Persian words starting with the prefix 'Persian text here'.

Usage

funmi(v)

Value

Returns a character vector where each element corresponds to a word from the input vector `v` with the specified suffix modified. This results in a transformed vector where each word ending with the specified suffix is altered. The length of the returned vector matches the length of the input vector, and each word is modified independently based on the presence of the specified suffix.

Arguments

v

A character vector of Persian words.

Examples

Run this code
 if (FALSE) {
  words <- c("Persian text here")
  modified_words <- funmi(words)
}

Run the code above in your browser using DataLab