# NOT RUN {
# Create string with Persian characters and punctuation
x <- '\u062F\u0627\u0646\u0634\u06AF\u0627\u0647\u060C \u062A\u0647\u0631\u0627\u0646\u061F'
# Remove punctuation
RFPunctuation(x, NoPunctuation = TRUE)
# Fix punctuation
RFPunctuation(x, NoPunctuation = FALSE)
# }
Run the code above in your browser using DataLab