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.0 by Hadley Wickham, 3 years ago


http://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, AID, AMAPVox, APCI, ARDL, ARPALData, ASIP, AeroSampleR, AirMonitor, AirSensor, 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, CKMRpop, CLME, CMapViz, CNAIM, CNVScope, COINr, CRANsearcher, 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, ECOTOXr, EFAtools, EnvNJ, EventStudy, Evomorph, ExcelFunctionsR, FAIRmaterials, FedData, Fiscore, GADMTools, GALLO, GCalignR, GIFTr, GLMcat, GOCompare, GenomeAdmixR, GenomicTools, GetBCBData, GetDFPData, GetDFPData2, GetFREData, GetLattesData, GetQuandlData, GetTDData, GillespieSSA2, GlmSimulatoR, Gmisc, Greg, GroupBN, HLMdiag, HTSSIP, HaDeX, HistogramTools, HydeNet, IATscores, IDCard, IGoRRR, IPDFileCheck, IPEDSuploadables, IPV, IRISMustangMetrics, IRISSeismic, ISAT, ISOweek, IxPopDyMod, JBrowseR, JCRImpactFactor, JumpeR, JustifyAlpha, LAGOSNE, LDAShiny, LLM, LOGAN, LTASR, LifeInsuranceContracts, LongDat, MCM, MFO, MMeM, MODIStsp, MSbox, MaOEA, MapeBay, MarginalMediation, MazamaCoreUtils, MazamaLocationUtils, MazamaSpatialUtils, MazamaTimeSeries, MetaIntegrator, MetaUtility, MixviR, NFP, NHSDataDictionaRy, NMF, NMproject, NNS, NNTbiomarker, NeuralSens, Nmisc, NormalityAssessment, OlinkAnalyze, OmicInt, OpenRepGrid, OpenRepGrid.ic, OptimaRegion, PAMmisc, PAMpal, PKPDsim, PL94171, PRISMA2020, PUMP, PWFSLSmoke, ParallelDSM, PerseusR, PesticideLoadIndicator, PhageCocktail, PlaneGeometry, Plasmidprofiler, Platypus, PoolTestR, PopED, PriceIndices, ProPublicaR, PubMedMining, PubMedWordcloud, QAIG, QCAtools, QTL.gCIMapping, QTL.gCIMapping.GUI, R6P, RAINBOWR, RALSA, RAMClustR, RAQSAPI, RBaseX, RCT, RClimacell, RDML, RFishBC, RInno, RJafroc, RKorAPClient, RLogicalOps, RNAseqQC, RNeXML, ROMDB, RPyGeo, RSAGA, RSDA, RSentiment, RSiteCatalyst, RSqlParser, RTL, RVA, RareComb, RavenR, RclusTool, Rcurvep, RefManageR, RepertoiR, RevEcoR, ReviewR, Revticulate, Riex, Rilostat, RmecabKo, Robyn, RonFHIR, Rpolyhedra, Rprofet, Rrdap, Rsagacmd, Rsgf, Rwhois, Rwtss, SCtools, SDMtune, SEERaBomb, SIRE, SLEMI, SPARTAAS, SSBtools, SSHAARP, SSRA, STRMPS, SWTools, ScriptMapR, SeerMapper, ShinyQuickStarter, ShinyTester, ShortForm, SimplyAgree, SkeweDF, SleepCycles, SoilTaxonomy, SpiceFP, 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, addinsJoaoMelo, addinsOutline, admiral, admixr, adobeanalyticsr, agvgd, aire.zmvm, akc, alfr, allestimates, alphavantager, altfuelr, anipaths, antaresRead, anyflights, apa, apollo, aqp, aquodom, arabic2kansuji, archetyper, archiveRetriever, asciiSetupReader, asciiruler, aslib, asremlPlus, assignPOP, attachment, attrib, audrex, auk, aurin, autoReg, autoharp, autostats, autothresholdr, babette, bambooHR, banxicoR, baseballr, basedosdados, batchtma, bayesbr, baymedr, bbsBayes, bea.R, beakr, beastier, beautier, beepr, bestSDP, betalink, bggAnalytics, bib2df, biblio, bibliometrix, bibtex, bioacoustics, biocompute, biogeo, biomartr, bioseq, bipartiteD3, bitmexr, blaise, blandr, blastula, bluebike, bold, bootCT, boxr, bpcs, bracer, bread, breathtestcore, breathteststan, bridger, bridgesampling, broom, broom.helpers, broom.mixed, brr, bruceR, bsplus, buildr, bulkAnalyseR, bupaR, burnr, cabinets, calpassapi, campfin, canadacovid, cansim, capl, carat, card, catSplit, causact, cder, censable, censusr, cfbfastR, chartql, cheatsheet, checkLuhn, cheese, chessR, chilemapas, chillR, choroplethr, chronicler, cimir, citrus, cjar, classyfireR, cleanTS, clifro, clinDataReview, clustringr, cmaRs, cmcR, cnum, coalitions, codebook, 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, covidregionaldata, cpsvote, crandep, cranly, crctStepdown, crestr, cricketdata, crimedata, crispRdesignR, criticalpath, cromwellDashboard, crosstable, crossword.r, crplyr, crtests, cruts, cspp, csvwr, cthist, cvCovEst, cvap, cvms, cyclestreets, cylcop, d3Tree, dMod, dPCP, dQTG.seq, dabestr, daiR, dail, dampack, dann, daqapo, datadogr, dataframeexplorer, datagovindia, dataone, dataspice, datazoom.amazonia, datefixR, dbglm, decisionSupport, deepdive, depigner, describedata, detector, detrendr, devFunc, devtoolbox, diathor, diceR, did2s, didimputation, difconet, diffEnrich, 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, dyn.log, dynamic, dynparam, dynutils, dynwrap, easyalluvial, easycensus, easyr, ebirdst, ecce, ech, eclust, ecocomDP, edbuildmapr, edeaR, edgar, edlibR, eemR, eiCompare, elementR, elfgen, emayili, emba, emdi, emoji, emuR, ensembleTax, entcn, eph, epidm, epitweetr, epos, ergm, escalation, eurlex, eurodata, eurostat, exampletestr, exams.mylearn, exams2sakai, excluder, expDB, explore, expstudy, eye, eyelinker, ez, ezpickr, facerec, factorEx, factset.protobuf.stachextensions, fastDummies, fastLink, fastRhockey, fbRanks, fbar, fcaR, fdapaceShiny, feamiR, featuretoolsR, fedmatch, fedstatAPIr, ferrn, ffp, ffscrapr, fgdr, fgeo.plot, fhircrackr, finalfit, findInFiles, findInGit, findR, finnts, fishualize, fitbitScraper, fitzRoy, flair, flattabler, flipbookr, foieGras, foodingraph, foqat, forceR, forecasteR, forestecology, fossilbrush, framecleaner, frenchdata, freqtables, fsr, fssemR, ftExtra, funModeling, functiondepends, futureheatwaves, fuzzyjoin, galah, games, ganalytics, gastempt, gbfs, gde, gen3sis, geneHummus, genekitr, genemodel, genepop, genius, geniusr, genscore, geocacheR, geomander, geouy, geoviz, gesisdata, gfcanalysis, gfoRmula, ggESDA, ggHoriPlot, ggPMX, ggResidpanel, ggVennDiagram, ggasym, ggblanket, ggcleveland, ggdag, ggetho, ggfacto, ggformula, ggfortify, gginnards, ggiraphExtra, ggmap, ggmice, ggmotif, ggpage, ggplotAssist, ggplotgui, ggpp, ggquickeda, ggthemes, gitear, gitlabr, glmmPen, gm, gmgm, gms, gofcat, gorpiper, grantham, graph4lg, gratia, gravitas, greatR, greekLetters, gridtext, grobblR, grwat, gscaLCA, gsheet, gt, gtsummary, gumboot, gunit, gutenbergr, gwasrapidd, hadron, hal9001, handwriter, hdpGLM, healthcareai, healthyR, helda, hereR, hergm, heuristicsmineR, hgnc, hgutils, highcharter, hlaR, hlidacr, hmer, hoardeR, hoopR, hospitals, htmlTable, htmldf, htsr, hurricaneexposure, huxtable, hybridModels, hydroscoper, hypercube, i2dash, iNZightTools, iai, ibawds, icdpicr, ideamdb, idmodelr, igate, iheiddown, ijtiff, imager, imdbapi, immunarch, immuneSIM, impactr, implicitMeasures, insee, insiderTrades, installr, insurancerating, inti, intmed, io, ip2location, ip2proxy, ipeadatar, ir, isobxr, itraxR, itsdm, janitor, japanmesh, japanstat, jcext, jgcricolors, 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, m2r, mRpostman, mailR, malaytextr, managelocalrepo, manydata, mapbayr, mapme.biodiversity, mapping, margaret, materialmodifier, matlabr, mau, mauricer, mboxr, 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, migraph, 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, msSPChelpR, mshap, msig, mtconnectR, mudata2, muir, multibridge, multicolor, multifear, multimorbidity, multinma, mumm, mverse, mxnorm, nCopula, namedropR, nandb, narray, naturaList, needmining, neonUtilities, netchain, netgen, netmhc2pan, networkreporting, nfl4th, nflfastR, ngramr, nhanesA, nhdR, nichevol, njtr1, nlrx, nlstac, noaastormevents, noah, nodeSub, nparACT, nucim, numbersBR, nutrientr, nzilbb.labbcat, oRus, oai, obfuscatoR, occCite, oceanis, omu, onbrand, onemapsgapi, ontoFAST, openCR, opitools, optiSel, optiSolve, optim.functions, osmose, osrmr, ottrpal, outreg, owidR, oxcAAR, oysteR, pRecipe, packDAMipd, packagefinder, pafr, panelr, panstarrs, parcats, parseRPDR, partition, pathviewr, patientProfilesVis, pbixr, pdfetch, pdi, peRspective, peacesciencer, peermodels, pepr, pewdata, pguIMP, pharmaRTF, phenomap, phenopix, photobiology, photobiologyInOut, piecemaker, piecepackr, pingers, pipefittr, piwikproR, pixelpuzzle, pkgmaker, places, plot3logit, pmetar, pmml, podcleaner, pointr, polimetrics, polished, politeness, pollster, polypharmacy, polywog, pomcheckr, 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, qbr, qrcode, qsub, qtl2ggplot, qtl2pattern, qualtRics, quantoptr, quid, quincunx, r2dictionary, r2dii.plot, r2mlm, r2shortcode, r4ss, r6methods, rADA, rAmCharts4, rClinicalCodes, 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, redcapAPI, redist, 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, rpredictit, rprime, rrtable, rsinaica, rslp, rsnps, rsppfp, rt, rtgstat, rticulate, rtmpt, rubias, rules, rusda, rvkstat, rwebstat, ryandexdirect, rym, ryouready, rytstat, saeHB, saeHB.ME, saeHB.ZIB, saeHB.gpois, saeHB.hnb, saeHB.panel, saeHB.spatial, saeHB.twofold, saeHB.zinb, safetyCharts, safetyGraphics, salty, saotd, sapfluxnetr, saqgetr, sasMap, satscanMapper, sbm, scINSIGHT, scImmuneGraph, scRNAstat, schemr, scholar, schrute, schtools, scientoText, scipub, scopr, scorecardModelUtils, scpi, sdcTable, searchConsoleR, secr, secrettext, secuTrialR, seecolor, seedreg, seer, selectr, semtree, sensobol, sentryR, sfcr, sgat, shiny.i18n, shinyChakraUI, shinyMolBio, shinyNotes, shinyTempSignal, shinyTree, shinyfilter, shinyloadtest, shinyobjects, shinyrecipes, sidrar, sigInt, simPH, simplecolors, simplevis, simr, sistec, siteymlgen, sketcher, skimr, 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, squashinformr, ssdtools, ssimparser, sspm, ssrn, staRdom, stabiliser, standardize, staplr, starter, starvz, statBasics, statar, stationaRy, statnipokladna, statquotes, statsearchanalyticsr, stevemisc, stickr, stlcsb, stm, stminsights, stoRy, stplanr, 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, tabxplor, tangram, taxa, taxonbridge, tcplfit2, tdcmStan, tealeaves, telefit, telemac, templates, tenispolaR, testdat, tetragon, text2map, text2sdg, texter, textmineR, textreuse, thinkr, threeBrain, tidyEmoji, tidyREDCap, tidybins, tidycat, tidycensus, tidycharts, tidycmprsk, tidycomm, tidyfst, tidyft, tidygate, tidygeoRSS, tidylda, tidyndr, tidypaleo, tidypmc, tidypredict, tidyquant, tidyquery, tidyqwi, tidyrules, tidyseurat, tidystats, tidytext, tidytidbits, tidyverse, tidywikidatar, tigris, timelineR, timetk, tinyarray, tinyscholar, tipitaka, toRvik, todor, tongfen, topr, torchdatasets, tosca, tosr, totalcensus, trainR, traineR, treeman, 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, vembedr, vennplot, vetools, vhcub, viafr, vizdraws, vmeasur, voson.tcn, vosonSML, votesmart, vpc, vprr, walmartAPI, waves, wbstats, wcde, webTRISr, webchem, webr, webtools, weed, wehoop, whippr, wiesbaden, wig, wikilake, wikipediatrend, wordbankr, wordpredictor, workflowr, wrappedtools, wsjplot, wux, wyz.code.offensiveProgramming, wyz.code.rdoc, x.ent, x12, xROI, xesreadR, xgxr, xml2relational, xmlconvert, xpose, xpose.nlmixr, yatah, 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, eqs2lavaan, eyeTrackR, filesstrings, geotopbricks, kstIO, lmomPi, microclass, micropan, microseq, morph, mtk, muRL, neuroim, orgR, pafdR, patchSynctex, pmxTools, pxR, qqr, recoder, repello, sim1000G, snpReady, sqlutils, strex, surveybootstrap, tumblR, vfcp, weightQuant.

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


See at CRAN