Fast and Portable Character String Processing Facilities

A collection of character string/text/natural language processing tools for pattern searching (e.g., with 'Java'-like regular expressions or the 'Unicode' collation algorithm), random string generation, case mapping, string transliteration, concatenation, sorting, padding, wrapping, Unicode normalisation, date-time formatting and parsing, and many more. They are fast, consistent, convenient, and - thanks to 'ICU' (International Components for Unicode) - portable across all locales and platforms. Documentation about 'stringi' is provided via its website at < https://stringi.gagolewski.com/> and the paper by Gagolewski (2022, ).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("stringi")

1.8.9 by Marek Gagolewski, 2 months ago


https://stringi.gagolewski.com/, https://github.com/gagolews/stringi, https://icu.unicode.org/


Report a bug at https://github.com/gagolews/stringi/issues


Browse source code at https://github.com/cran/stringi


Authors: Marek Gagolewski [aut, cre, cph] (ORCID: , Bartek Tartanus [ctb] , Unicode , Inc. and others [ctb] (ICU4C source code , Unicode Character Database)


Documentation:   PDF Manual  


file LICENSE license


Imports tools, utils, stats

System requirements: ICU4C (>= 61, optional)


Imported by APCalign, AmpGram, BAwiR, BINtools, BWGS, BatchJobs, BiostatsUHNplus, BrazilMet, CAOP.RAA.2024, CDMConnector, CITAN, CTNote, CancerGram, CoTiMA, CodelistGenerator, CohortGenerator, ConversationAlign, CooRTweet, DCC, DatastreamDSWS2R, DistPlotter, EAVA, EMJMCMC, Ecfun, GimmeMyStats, GreedyExperimentalDesign, HARr, HaDeX2, IAcsSPCR, ICD10gm, IDEATools, IP, ISO11784Tools, KOR.addrlink, LABTNSCPSS, LLMing, LSTbook, LSX, LexisNexisTools, LilRhino, NSC, NormalityAssessment, OpenML, OpenMindat, PGRdup, PvSTATEM, QCAcluster, R.temis, RALSA, REDCapDM, REDCapTidieR, RJalaliDate, RNeXML, RNewsflow, RSqlParser, RcmdrPlugin.temis, Reacnorm, Rgff, RmecabKo, Rparadox, Rsgf, Rtrack, RuHere, SHARK4R, SNPkit, SSHAARP, SemNetCleaner, SemanticDistance, SerolyzeR, ShinyQuickStarter, Signac, StatTeacherAssistant, TheOpenAIR, ThesiStats, Tivy, TreatmentPatterns, TreeSearch, UKBAnalytica, WhatsR, Xplortext, abjutils, abn, acoRn, act, actel, agregR, aifeducation, airr, alakazam, amadeus, annotater, antaresRead, attestix, audubon, auk, authoritative, batchtools, bdc, bea.R, bibliometrix, biometryassist, bioseq, birdie, bskyr, bupaR, cagedr, canprot, charr, checkhelper, cleanNLP, clidatajp, climate, clinpubr, clintools, clockify, clustringr, comorbidity, cookiemonster, corporaexplorer, corpustools, covidsymptom, cryptotrackr, csv, ctrdata, ctrialsgov, cyclestreets, cymruservices, czso, dae, daewr, dartR.sim, data.tree, dataMaid, dataReporter, dataone, datasus, datazoom.amazonia, dbi.table, derrick, disclosuR, discoverableresearch, doc2concrete, docorator, dplR, dqcheckr, dqcheckrGUI, dscore, dtaudit, dundermifflin, dynr, easieRnmt, eatGADS, eatTools, edgar, educabR, effectcheck, emayili, engager, epidata, epidm, epitrix, eplusr, estbanr, evinf, exams.mylearn, exams2sakai, eyelinker, farff, fastLink, felp, fiery, filebin, filesstrings, findInFiles, firmmatchr, flexlsx, flipbookr, flippant, florabr, forceplate, formatters, fractalforest, fscache, fusen, future.batchtools, fuzzySim, gasanalyzer, gbm.auto, genekitr, gfer, gganimate, ggfittext, gibasa, gips, gipsDA, gitdown, gmwmx, goxygen, growthPheno, hanyupinyin, healthyR.ts, highlightr, hoopR, huxtable, hydrodownloadR, ie2misc, imaginator, immunogenetr, inedemogR, inlpubs, inpdfr, ipa, itscalledsoccer, jSDM, janitor, japanstat, joinery, journalabbr, jpinfect, jrc, kanjistat, kerntools, klsh, kmeRtone, languageserver, leadeR, lexsync, lime, llmcoder, llmshieldr, logrx, mRpostman, mSigSpectra, madrat, manystates, mapboxapi, margaret, mastif, mclm, medExtractR, memapp, messydates, metamorphr, metaphonebr, miRecSurv, microdatasus, minorparties, mlr, mlr3oml, mlrCPO, mongolmaps, mongolstats, monolix2rx, moranajp, mpoly, mscstexta4r, mulea, multipanelfigure, naaccr, naijR, necountries, newsmap, nodbi, notionR, nprcgenekeepr, nzffdr, omopgenerics, openxlsx, openxlsx2, osfr, osmclass, oxcAAR, pacheck, pacs, path.chain, pdfsearch, pedquant, pgTools, phonetisr, phylotypr, piecemaker, pk.unit.trans, plumber, plumber2, plumbertableau, poldis, politeness, polmineR, polyRAD, potions, ppgm, presenter, pressfreedom.data, priceR, processcheckR, psmineR, pxmake, qdapRegex, qlcData, qpost, quanteda, quanteda.textmodels, quanteda.textplots, quanteda.textstats, r2dii.match, radiant.data, radiant.model, ragnar, raisr, ralger, rangeBuilder, rassta, rattle, rb3, rdflib, rdtLite, re, readODS, readabs, readsdr, readtext, ready4, receptiviti, redatam, refinr, regextable, reporter, reqres, resquin, restez, retrosheet, rextendr, rmcfs, robotoolbox, routr, rprime, rprintf, rslp, rsyntax, rtables, rtables.officer, rtodoist, rtransparency, rurl, rwhatsapp, samplesizeestimator, sanketphonetictranslator, saros, saros.base, scCustomize, scShardSplitRef, scimetr, scitb, scoper, scorecard, sdbuildR, seekr, sejmRP, sentimentr, sentometrics, sergeant, sgraph, sharpshootR, shazam, shiny.react, shinyMixR, shinyquiz, shoppingwords, sinew, sistec, snakecase, sonicscrewdriver, sqlHelpers, statcheck, statgenIBD, statnipokladna, strex, stringr, stringx, strs, supportR, table.glue, tabs, tangram, tardis, tatoo, taxadb, taxize, taxlist, tesouror, testthis, text, text2map, text2vec, textclean, textpress, textshape, textshaping, textstem, tfrmt, thinkr, thriftr, tidycjk, tidyplus, tidyusmacro, tigger, timetk, tinycodet, tokenbrowser, tokenizers, topics, transltr, tsentiment, ulex, wakefield, webdeveloper, wehoop, whapi, wikilake, wildcard, wordmap, wordpiece, wordvector, workspace, worldfootballR, xmpdf, zoolog.

Depended on by ELISAtools, dbWebForms.

Suggested by ARTool, ClickHouseHTTP, GTFShift, LLMR, MolgenisArmadillo, RAGFlowChainR, RWDataPlyr, TeXCheckR, aNCA, acR, aebdata, alookr, and, arrow, assignPOP, atime, baseballr, bdpar, biofetchR, blsR, box.lsp, cfbfastR, charlatan, consort, crosstable, dartR, dartR.base, dataquieR, deepdep, diffdf, dlookr, dplyr, drtmle, dwctaxon, fastRhockey, frictionless, geojson, ggpackets, grwat, hrbrthemes, ie2miscdata, interp, jab.adverse.reactions, levitate, mark, minty, mlflow, mlr3mbo, mpitbR, multipleITScontrol, multiverse, nc, nflreadr, oddsapiR, piglet, pillar, poems, portfolioBacktest, protti, psychmeta, qdap, qgisprocess, qs2, r2dii.data, r2rtf, rKolada, rbi, rbi.helpers, readr, realestatebr, rebus.base, rebus.unicode, redland, retraction, rio, rlfsm, rlistings, rmoriebricklayer, rvest, rwty, rxode2, scales, sevenbridges2, shiny.fluent, shinyWGD, ssc, stbl, stylo, sumup, swirl, tcplfit2, telegramR, text2speech, textmineR, textrecipes, threesixtygiving, tibble, tidyaudit, tidyterra, tinytable, tipitaka, tm.plugin.alceste, urlshorteneR, vibass, visa, vosonSML, wilson, wrMisc.


See at CRAN