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("stringr")

1.4.1 by Hadley Wickham, a month ago


https://stringr.tidyverse.org, https://github.com/tidyverse/stringr


Report a bug at https://github.com/tidyverse/stringr/issues


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


Authors: Hadley Wickham [aut, cre, cph] , RStudio [cph, fnd]


Documentation:   PDF Manual  


GPL-2 | file LICENSE license


Imports glue, magrittr, stringi

Suggests covr, htmltools, htmlwidgets, knitr, rmarkdown, testthat


Imported by AFM, AGread, AID, AMAPVox, APCI, ARDL, ARPALData, ASIP, AeroSampleR, AirMonitor, AovBay, ApacheLogProcessor, Arothron, AvInertia, BARIS, BAwiR, BCT, BED, BETS, BMRSr, BSL, BTLLasso, BacArena, BallMapper, BasketballAnalyzeR, BatchGetSymbols, BayesFactor, BayesGWQS, Bchron, BivRec, BrazilMet, CB2, CGPfunctions, CHOIRBM, CIAAWconsensus, CIMTx, CKMRpop, CLME, CMapViz, CNAIM, CNVScope, CRANsearcher, CSCNet, CSGo, CSHShydRology, CausalQueries, ClustAssess, Cluster.OBeu, CoFRA, Conigrave, CovidMutations, CruzPlot, DCLEAR, DGEobj, DGEobj.utils, DIDmultiplegt, DOPE, DSMolgenisArmadillo, DSSAT, DSpoty, DatabaseConnector, DatastreamDSWS2R, DeLorean, DescrTab2, DiagrammeR, DistPlotter, DistributionFitR, DrDimont, DramaAnalysis, DynForest, ECOTOXr, EFAtools, EnvNJ, EpiSemble, EventStudy, Evomorph, ExcelFunctionsR, FAIRmaterials, FFTrees, FedData, Fiscore, GALLO, GCalignR, GIFTr, GLMcat, GOCompare, GenomeAdmixR, GenomicTools, GetBCBData, GetDFPData, GetDFPData2, GetFREData, GetLattesData, GetQuandlData, GetTDData, GillespieSSA2, GlmSimulatoR, Gmisc, Greg, GroupBN, HLMdiag, HTSSIP, HYPEtools, HaDeX, HistogramTools, HydeNet, IATscores, ICED, IDCard, IFAA, IGoRRR, IPDFileCheck, IPEDSuploadables, IPV, IRISMustangMetrics, IRISSeismic, ISAT, ISOweek, IxPopDyMod, JBrowseR, JCRImpactFactor, JumpeR, JustifyAlpha, Karen, LAGOSNE, LDABiplots, LDAShiny, LLM, LOGAN, LTASR, LifeInsuranceContracts, LongDat, MCM, MFO, MIMSunit, MMeM, MODIStsp, MSbox, MaOEA, MapeBay, MarginalMediation, MazamaCoreUtils, MazamaLocationUtils, MazamaSpatialUtils, MazamaTimeSeries, MetaIntegrator, MetaUtility, MixviR, NHSDataDictionaRy, NMF, NMproject, NNS, NNTbiomarker, NeuralSens, Nmisc, NormalityAssessment, OlinkAnalyze, OmicInt, OpenRepGrid, OpenRepGrid.ic, OpenTreeChronograms, OptimaRegion, PAMmisc, PAMpal, PKPDsim, PL94171, PRISMA2020, PUMP, PWFSLSmoke, ParallelDSM, PerseusR, PesticideLoadIndicator, PhageCocktail, PlaneGeometry, Plasmidprofiler, Platypus, PoolTestR, PopED, PriceIndices, ProPublicaR, PsychWordVec, PubMedMining, PubMedWordcloud, QAIG, QCAtools, QTL.gCIMapping, QTL.gCIMapping.GUI, R2ucare, R6P, RAINBOWR, RALSA, RAMClustR, RAQSAPI, RAT, RBaseX, RCT, RCTS, RClimacell, RDML, REDCapTidieR, RFishBC, RInno, RJafroc, RKorAPClient, RLogicalOps, RMediation, RNAseqQC, RNeXML, ROMDB, RPyGeo, RSAGA, RSDA, RSentiment, RSiteCatalyst, RSqlParser, RTL, RVA, RareComb, RavenR, RclusTool, Rcurvep, RefManageR, RepertoiR, RestoreNet, RevEcoR, ReviewR, Revticulate, Riex, Rilostat, RmecabKo, Robyn, RonFHIR, Rpolyhedra, Rprofet, Rrdap, Rsagacmd, Rsgf, Rtapas, Rwhois, Rwtss, SCtools, SDMtune, SEERaBomb, SIRE, SLEMI, SPARTAAS, SSBtools, SSHAARP, SSRA, STRMPS, SWTools, ScriptMapR, SeerMapper, ShinyQuickStarter, ShinyTester, ShortForm, SimplyAgree, SkeweDF, SleepCycles, SoilTaxonomy, StratigrapheR, SunsVoc, SwimmeR, T2Qv, TUFLOWR, TcGSA, TestGardener, TexExamRandomizer, ThreeWiseMonkeys, TiPS, TidyDensity, TidyMultiqc, Tplyr, TreeDiagram, Twitmo, TwoWayFEWeights, UCSCXenaShiny, UniprotR, VDAP, ViSiElse, WINS, WikidataR, Xplortext, Z10, aMNLFA, aRchi, abcrf, abjutils, accessrmd, accucor, ace2fastq, acroname, act, actel, activAnalyzer, addinsJoaoMelo, addinsOutline, admiral, admiraldev, admixr, adobeanalyticsr, agvgd, aire.zmvm, akc, alfr, allestimates, allhomes, alphavantager, altfuelr, anipaths, annotater, antaresRead, anyflights, apa, apollo, aqp, aquodom, arabic2kansuji, archetyper, archiveRetriever, asciiSetupReader, asciiruler, aslib, asremlPlus, assignPOP, atpolR, attachment, attrib, audrex, auk, autoReg, autoharp, autostats, autothresholdr, babette, bambooHR, banxicoR, baseballr, basedosdados, batchtma, bayesbr, baymedr, bbsBayes, bdc, bea.R, beakr, beastier, beautier, beepr, benchmarkme, bestSDP, besthr, betalink, bggAnalytics, bib2df, biblio, bibliometrix, bibtex, bioacoustics, biocompute, biogeo, biomartr, bioseq, bipartiteD3, bitmexr, blaise, blandr, blastula, blscrapeR, bluebike, bold, bootCT, boxr, bracer, bread, breathtestcore, breathteststan, bridger, bridgesampling, broom, broom.helpers, broom.mixed, brr, bruceR, bsplus, buildr, bulkAnalyseR, bupaR, burnr, cabinets, calidad, calpassapi, campfin, canadacovid, cansim, capl, carat, card, causact, cbioportalR, cder, censable, censusr, cfbfastR, chartql, cheatsheet, checkLuhn, cheese, chessR, chilemapas, chillR, choroplethr, chromConverter, chronicler, cimir, citrus, cjar, cleanTS, clifro, clinDataReview, clustringr, cmaRs, cmcR, cmhc, cnum, coalitions, codebook, codebookr, collidr, colorfindr, colorizer, colormap, combinedevents, combiroc, commentr, compareDF, completejourney, conText, concatipede, concordance, configr, confoundr, conmet, conquestr, convergEU, convertid, copyseparator, corporaexplorer, correlationfunnel, cosinor2, covid19france, covid19india, covid19us, cpsvote, crandep, cranly, crctStepdown, crestr, cricketdata, crimedata, crispRdesignR, criticalpath, cromwellDashboard, crosstable, crosstalkr, crossword.r, crplyr, crtests, cruts, cspp, csvwr, cthist, cubble, cvCovEst, cvap, cvms, cyclestreets, cylcop, d3Tree, dMod, dPCP, dQTG.seq, dabestr, daiR, dail, dampack, dann, daqapo, dartR, datadogr, dataframeexplorer, datagovindia, dataone, dataspice, datazoom.amazonia, datefixR, datelife, dbglm, decisionSupport, deepdive, demcon, depigner, describedata, detector, detrendr, devFunc, diathor, diceR, did2s, didimputation, difconet, diffEnrich, digiRhythm, dipsaus, disk.frame, distcomp, distill, div, dkanr, dmai, dmdScheme, do, doc2concrete, docreview, docxtools, doseminer, dotwhisker, dowser, dplR, dplyrAssist, dragon, drawer, drpop, drugprepr, drumr, dscore, dsmisc, dtrackr, dyn.log, dynamic, dynparam, dynutils, dynwrap, eHDPrep, easyalluvial, easycensus, easyr, ebirdst, ech, eclust, ecocomDP, edbuildmapr, edeaR, edgar, edlibR, eemR, elementR, elfgen, emayili, emba, emdi, emoji, emuR, ensembleTax, eph, epidm, epitopR, epitweetr, epos, ergm, escalation, eurlex, eurodata, eurostat, exampletestr, exams.mylearn, exams2sakai, excluder, expDB, explore, expstudy, eye, eyelinkReader, eyelinker, ez, ezpickr, facerec, farr, fastDummies, fastLink, fastRhockey, fbar, fcaR, fdapaceShiny, feamiR, featuretoolsR, fedmatch, fedstatAPIr, ferrn, ffp, ffscrapr, fgdr, fgeo.plot, fhircrackr, figuRes2, finalfit, findInFiles, findInGit, findR, finnts, fishualize, fitbitScraper, fitzRoy, flair, flattabler, flipbookr, flowTraceR, foieGras, foodingraph, foqat, forceR, forecasteR, forestecology, fossilbrush, framecleaner, frenchdata, freqtables, fsr, fssemR, fst4pg, ftExtra, funModeling, functiondepends, futureheatwaves, fuzzyjoin, g3viz, galah, ganalytics, gastempt, gbfs, gde, gen3sis, geneHapR, geneHummus, genekitr, genemodel, genepop, geneset, genieBPC, genius, geniusr, genscore, geocacheR, geomander, geouy, geoviz, gesisdata, gfcanalysis, gfoRmula, ggESDA, ggHoriPlot, ggPMX, ggResidpanel, ggasym, ggcleveland, ggdag, ggetho, ggformula, ggfortify, gginnards, ggiraphExtra, ggmap, ggmice, ggmotif, ggpage, ggplotAssist, ggplotgui, ggpp, ggquickeda, ggthemes, ggtikz, gitear, gitlabr, glmmPen, globaltrends, glossr, gm, gmgm, gms, gofcat, gompertztrunc, gorpiper, grantham, graph4lg, gratia, gravitas, greatR, greekLetters, gridtext, grobblR, grwat, gscaLCA, gsheet, gt, gtreg, gtsummary, gumboot, gunit, gutenbergr, gwasrapidd, hal9001, handwriter, handyFunctions, hdpGLM, healthcareai, healthyR, helda, hereR, hergm, heuristicsmineR, hgnc, hgutils, highcharter, hlaR, hlidacr, hmer, hoardeR, hockeyR, hoopR, hospitals, htmcglm, htmlTable, htmldf, htsr, hurricaneexposure, huxtable, hybridModels, hydroscoper, hypercube, i2dash, iNZightTools, iai, ibawds, icdpicr, ideamdb, idmodelr, igate, iheiddown, ijtiff, imager, imdbapi, immunarch, immuneSIM, impactr, implicitMeasures, imputeREE, insee, installr, insurancerating, inti, intmed, io, ip2location, ip2proxy, ipeadatar, ipsecr, ir, isobxr, itraxR, itsdm, ivgets, ixplorer, janitor, japanmesh, japanstat, jcext, jgcricolors, journalabbr, jpgrid, jpstat, jrc, jstor, kableExtra, kayadata, kehra, kesernetwork, keyATM, keyToEnglish, keyringr, kgschart, kibior, kindisperse, knitr, kntnr, kokudosuuchi, labelled, lacrmr, lactater, lambdaTS, lares, latex2exp, latte, lavaanPlot, lazytrade, lcsm, leaflet.extras, ledger, lehdr, levitate, libbib, lifelogr, liftr, lilikoi, linea, linguisticsdown, link2GI, lipidomeR, litteR, lnmCluster, logrx, m2r, macleish, mailR, malaytextr, managelocalrepo, manydata, mapbayr, mapme.biodiversity, mapping, margaret, materialmodifier, matlabr, mau, mauricer, mboxr, mccca, mcp, mdsr, meantables, medExtractR, medrxivr, memapp, memoria, messaging, messydates, metR, metaboData, metabolic, metacoder, metaconfoundr, metacore, metagear, metajam, metaprotr, metatools, meteospain, metools, metrix, metsyn, mgm, mhcnuggetsr, mi4p, miRetrieve, miceafter, microSTASIS, micromapST, microsamplingDesign, migest, mipplot, mitre, mixl, mlergm, mlr3shiny, mmaqshiny, modeltime, modeltime.ensemble, modeltime.gluonts, modeltime.h2o, modeltime.resample, moderndive, moexer, mojson, molnet, monoClust, moodleR, moonBook, moranajp, morphemepiece, mpoly, mpwR, msSPChelpR, mshap, msig, mtconnectR, mudata2, muir, multibridge, multicolor, multifear, multimorbidity, multinma, mumm, mverse, mxnorm, nCopula, name, namedropR, nandb, narray, naturaList, ndi, needmining, neonUtilities, netchain, netgen, netmhc2pan, nfl4th, nflfastR, ngramr, nhanesA, nhdR, njtr1, nlrx, nlstac, noaastormevents, noah, nodeSub, nparACT, nser, nucim, numbat, numbersBR, nzilbb.labbcat, oRus, oai, obfuscatoR, occCite, oceanis, omu, onbrand, onemapsgapi, ontoFAST, openCR, openairmaps, opitools, optiSel, optiSolve, optim.functions, ordr, osmose, osrmr, ottrpal, outreg, owidR, oxcAAR, oysteR, packDAMipd, pafr, panelr, panstarrs, parcats, parseRPDR, partition, pathviewr, patientProfilesVis, pbixr, pdfetch, pdi, peRspective, peacesciencer, peermodels, pepr, pewdata, pguIMP, pharmaRTF, phenomap, phenopix, photobiology, photobiologyInOut, photosynthesis, piecemaker, piecepackr, pingers, pipefittr, piwikproR, pixelpuzzle, pkgmaker, places, plot3logit, plotKML, pmetar, pmml, podcleaner, pointr, polimetrics, polished, politeness, pollster, polypharmacy, polywog, pomcheckr, popstudy, postGIStools, postpack, povcalnetR, powerbydesign, ppmf, pre, predict3d, presenter, prettyglm, priceR, prider, primerTree, prism, prisonbrief, proPubBills, processR, processanimateR, processcheckR, processmapR, profr, profvis, projects, promote, promotionImpact, proteus, protti, proustr, provExplainR, prozor, pryr, psfmi, pspatreg, psycModel, psycho, ptspotter, pureseqtmr, qMRI, qPCRtools, qbr, qrcode, qris, qsub, qtl2ggplot, qtl2pattern, qualtRics, quantoptr, quid, quincunx, r2dictionary, r2dii.plot, r2mlm, r2shortcode, r4ss, r6methods, rADA, rAmCharts4, rFIA, rKOMICS, rKolada, rNOMADS, rPraat, racademyocean, ractivecampaign, radiant.model, radlibs, radsafer, rainette, ralger, randomcoloR, rapport, rappsflyer, ratios, rattle, raveio, raws.profile, rb3, rbedrock, rbenvo, rbioacc, rcompendium, rcrossref, rdi, rdnb, reactablefmtr, readJDX, readrba, readsdr, readtextgrid, recodeflow, recurrentpseudo, redcapAPI, redist, refdb, refreg, refreshr, regions, regrrr, relSim, reproducer, reshape2, respR, retroharmonize, retrosheet, revengc, rfacebookstat, rfishbase, rgenius, rgeopat2, rgoogleads, rheroicons, riAFTBART, ringostat, riskclustr, rkeops, rlc, rlme, rmarkdown, rmweather, rmytarget, robis, robotstxt, roclang, rocnp, romic, ropenblas, ropercenter, roxygen2, rprime, rrtable, rsinaica, rslp, rsnps, rsppfp, rt, rtgstat, rtiddlywiki, rtmpt, rubias, rules, rusda, rvkstat, rwarrior, rwebstat, ryandexdirect, rym, ryouready, rytstat, saeHB, saeHB.ME, saeHB.ZIB, saeHB.gpois, saeHB.hnb, saeHB.panel, saeHB.spatial, saeHB.twofold, saeHB.zinb, saeTrafo, safetyCharts, safetyGraphics, salty, saotd, sapfluxnetr, saqgetr, sasMap, satscanMapper, sbm, scINSIGHT, scImmuneGraph, scRNAstat, schemr, scholar, schrute, schtools, scientoText, scipub, scopr, scorecardModelUtils, scpi, scrutiny, sdcTable, searchConsoleR, secr, secrettext, secuTrialR, seecolor, seedreg, seer, selectr, semgram, semtree, sendigR, sensobol, sentryR, seqimpute, sfcr, sgat, shiny.i18n, shinyChakraUI, shinyHugePlot, shinyMolBio, shinyNotes, shinyTempSignal, shinyTree, shinyfilter, shinyloadtest, shinyobjects, shinyrecipes, sidrar, sigInt, simPH, simplecolors, simplevis, simr, sistec, siteymlgen, sketcher, skimr, skynet, smpic, snakecase, snap, soc.ca, socialmixr, socialrisk, sociome, sovereign, spAddins, spant, spatPomp, spatsurv, speakr, spectacles, speech, speechbr, speedycode, spellcheckr, sperrorest, sphet, spind, spotifyr, spsComps, spsUtil, sqliter, sqlstrings, ssdtools, ssimparser, sspm, ssrn, staRdom, stabiliser, stacomiR, standardize, staplr, starvz, statBasics, statar, stationaRy, statnipokladna, statquotes, statsearchanalyticsr, stevemisc, stm, stminsights, stoRy, stortingscrape, stppSim, stringformattr, striprtf, subspace, suddengains, superb, supernova, survivalAnalysis, survivoR, survtmle, svgtools, swatches, sweidnumbr, swfscAirDAS, swirl, swirlify, swissparl, syllabifyr, synoptReg, synthpop, tabbycat, tableschema.r, tabshiftr, tabulator, tangram, taxa, taxlist, taxonbridge, tcgaViz, tcpl, tcplfit2, tdcmStan, tealeaves, telefit, telemac, templates, tenispolaR, testdat, tetragon, text2map, text2sdg, texter, textmineR, textreuse, thinkr, threeBrain, tidyCDISC, tidyEmoji, tidyREDCap, tidybins, tidycat, tidycensus, tidycharts, tidycmprsk, tidycomm, tidyfst, tidyft, tidygate, tidygeoRSS, tidylda, tidyndr, tidypaleo, tidyplus, tidypmc, tidypredict, tidyquant, tidyquery, tidyqwi, tidyrgee, tidyrules, tidyseurat, tidystats, tidytags, tidytext, tidytidbits, tidyverse, tidywikidatar, tigris, timelineR, timetk, tinkr, tinyarray, tinyscholar, tipitaka, toRvik, todor, tongfen, topr, torchdatasets, tosca, tosr, totalcensus, trainR, traineR, trendyy, trialr, tspmeta, twn, txshift, typehint, ubiquity, ukbtools, umiAnalyzer, unheadr, unstruwwel, upstartr, uptasticsearch, urlshorteneR, utilsIPEA, utr.annotation, vagalumeR, valhallr, validata, valr, vannstats, vardpoor, varitas, varsExplore, vcfR, vegdata, vembedr, vennplot, verbaliseR, vhcub, viafr, vici, vizdraws, vmeasur, voson.tcn, vosonSML, votesmart, vpc, vprr, walmartAPI, waves, wbstats, wcde, webchem, webr, weed, wehoop, whippr, whomds, wiesbaden, wig, wikilake, wikipediatrend, wordbankr, wordpredictor, workflowr, worldfootballR, wrappedtools, wsjplot, wux, wyz.code.offensiveProgramming, wyz.code.rdoc, x.ent, x12, xQTLbiolinks, xROI, xadmix, xesreadR, xgxr, xhaz, xml2relational, xmlconvert, xportr, xpose, xpose.nlmixr, xpose.nlmixr2, yahoofinancer, yatah, yfR, yhatr, ymlthis, youtubecaption, ypssc, zipangu, zipcodeR, zoomGroupStats, ztable, ztype.

Depended on by CEOdata, EstimationTools, FCSlib, FRESA.CAD, Fgmutils, JLPM, LindenmayeR, Maeswrap, OmnibusFisher, PersomicsArray, PhysActBedRest, RGENERATEPREC, ReadDIM, String2AdjMatrix, TBFmultinomial, VarfromPDB, acs, cchsflow, dataPreparation, easyPSID, eyeTrackR, filesstrings, geotopbricks, kstIO, lmomPi, microclass, micropan, microseq, morph, muRL, neuroim, onmaRg, orgR, pafdR, patchSynctex, pmxTools, pxR, recoder, repello, sim1000G, snpReady, strex, uscoauditlog, vfcp, weightQuant.

Suggested by Andromeda, ClimClass, DataFakeR, DisImpact, GDINA, GDPuc, JSmediation, MARSS, MultiATSM, NBAloveR, ProjectTemplate, QTOCen, RCzechia, RScelestial, RVerbalExpressions, RcmdrPlugin.WorldFlora, Rpoet, SLOPE, ShinyItemAnalysis, SingleCaseES, SmartMeterAnalytics, SoundexBR, TKCat, WorldFlora, ZIprop, admiralonco, altair, amapGeocode, anomalize, arcpullr, arrow, autoTS, babsim.hospital, bdpar, beadplexr, blogdown, campsis, canvasXpress, clusterPower, composits, cxr, cytominer, datplot, deepredeff, diffdf, disprose, docknitr, domir, eeptools, ensModelVis, envDocument, epigraphdb, ethnobotanyR, eudract, exuber, febr, fec16, fgeo.tool, fivethirtyeight, flexpolyline, frequencyConnectedness, ggblanket, ggenealogy, ggmulti, ggrepel, glue, gluedown, golem, gtExtras, haldensify, healthyR.ts, heemod, himach, httk, implyr, industRial, infer, interp, jab.adverse.reactions, legislatoR, lemon, mFD, mcbette, miscset, modelplotr, multiverse, mvrsquared, natstrat, newsanchor, nima, nplyr, nseval, oddsapiR, onemap, oolong, optparse, ordbetareg, origami, ottr, outcomerate, plotROC, ppitables, pspline.inference, purgeR, qCBA, ragtop, raw, regmedint, regsem, repr, rex, rfordummies, rinat, riskCommunicator, rminizinc, rmonad, robservable, rticulate, sarp.snowprofile, scITD, scaffolder, sentopics, sfdep, shinymeta, sift, simPop, simstandard, spRingsteen, spatialEco, states, stats19, stringfish, sweep, swfscDAS, syuzhet, tfdeploy, tidySEM, tidylo, tikzDevice, tracerer, transplantr, troopdata, tvthemes, uavRmp, unpivotr, unusualprofile, usmap, valaddin, vindecodr, vitae, vkR, wingui, wsrf, zmisc.


See at CRAN