1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508 |
- <?xml version="1.0"?>
- <fpdoc-descriptions>
- <package name="rtl">
- <!--
- ====================================================================
- strutils
- ====================================================================
- -->
- <module name="strutils">
- <element name="SysUtils">
- <short>Various calls.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiResemblesText">
- <short>Check whether 2 strings resemble each other.</short>
- <descr>
- <var>AnsiResemblesText</var>
- will check whether <link id="AnsiResemblesProc"/> is set.
- If it is not set, <var>False</var> is returned. If it is set, <var>AText</var> and <var>AOtherText</var> are passed to it and it's result is returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiResemblesProc"/>
- <link id="SoundexProc"/>
- </seealso>
- </element>
- <element name="AnsiResemblesText.Result">
- <short>
- <var>True</var>
- if the words match, <var>False</var> if not</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiResemblesText.AText">
- <short>First text to compare</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiResemblesText.AOther">
- <short>Second text to compare</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiContainsText">
- <short>Check whether a string contains a certain substring, ignoring case.</short>
- <descr>
- <var>AnsiContainsString</var>
- checks whether <var>AText</var> contains <var>ASubText</var>, and returns <var>True</var>
- if this is the case, or returns <var>False</var> otherwise.
- The search is performed case-insensitive.</descr>
- <errors/>
- <seealso>
- <link id="AnsiContainsStr"/>
- <link id="AnsiEndsText"/>
- <link id="AnsiIndexText"/>
- <link id="AnsiStartsText"/>
- </seealso>
- </element>
- <element name="AnsiContainsText.Result">
- <short>
- <var>True</var>
- if the substring was found, <var>False</var> otherwise.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiContainsText.AText">
- <short>The string to be searched</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiContainsText.ASubText">
- <short>The substring to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiStartsText">
- <short>Check whether a string starts with a given substring, ignoring case</short>
- <descr>
- <var>AnsiEndsText</var>
- checks <var>AText</var>
- to see whether it starts with <var>ASubText</var>
- , and returns <var>True</var>
- if it does, <var>False</var>
- if not.
- The check is performed case-insensitive. Basically, it checks whether the position of <var>ASubText</var>
- equals 1.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiEndsText"/>
- <link id="AnsiStartsStr"/>
- <link id="AnsiIndexText"/>
- <link id="AnsiContainsText"/>
- </seealso>
- </element>
- <element name="AnsiStartsText.Result">
- <short>
- <var>True</var>
- if the given string starts with the substring, <var>False</var> if not.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiStartsText.ASubText">
- <short>Substring to check for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiStartsText.AText">
- <short>String to check in</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiEndsText">
- <short>Check whether a string ends with a certain substring, ignoring case.</short>
- <descr>
- <var>AnsiEndsStr</var>
- checks <var>AText</var>
- to see whether it ends with <var>ASubText</var>
- , and returns <var>True</var>
- if it does, <var>False</var>
- if not.
- The check is performed case-insensitive. Basically, it checks whether the position of <var>ASubText</var>
- equals the length of <var>AText</var>
- minus the length of <var>ASubText</var>
- plus one.</descr>
- <errors>None</errors>
- <seealso>
- <link id="AnsiStartsText"/>
- <link id="AnsiEndsStr"/>
- <link id="AnsiIndexText"/>
- <link id="AnsiContainsText"/>
- </seealso>
- </element>
- <element name="AnsiEndsText.Result">
- <short>
- <var>True</var>
- if the string ends on the substring, <var>False</var> otherwise.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiEndsText.ASubText">
- <short>Substring to check for.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiEndsText.AText">
- <short>Text to check the end of</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceText">
- <short>Search and replace all occurrences of a string, case sensitive.</short>
- <descr>
- <var>AnsiReplaceString</var>
- searches <var>AText</var>
- for all occurrences of the string <var>AFromText</var>
- and replaces them with <var>AToText</var>
- , and returns the resulting string. The search is performed ignoring case.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiReplaceStr"/>
- <link id="SearchBuf"/>
- </seealso>
- </element>
- <element name="AnsiReplaceText.Result">
- <short>Result of the search and replace operation.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceText.AText">
- <short>String in which to search and replace.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceText.AFromText">
- <short>String to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceText.AToText">
- <short>String to replace with</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchText">
- <short>Check whether a string occurs in an array of strings, disregarding case.</short>
- <descr>
- <p>
- <var>AnsiIndexStr</var>
- matches <var>AText</var> against each string in <var>AValues</var>.
- If a match is found, it returns <var>True</var>, otherwise <var>False</var> is returned.
- The strings are matched ignoring case.
- </p>
- <p>This function simply calls <link id="AnsiIndexText"/> ad checks whether it returns -1 or not.
- </p>
- </descr>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchText.Result">
- <short>
- <var>True</var>
- if the value appears in the array, <var>False</var> if not.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchText.AText">
- <short>String to check for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchText.AValues">
- <short>Array of string values to search in</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiIndexText">
- <short>Searches, case insensitive, for a string in an array of strings.</short>
- <descr>
- <var>AnsiIndexStr</var>
- matches <var>AText</var>
- against each string in <var>AValues</var>
- .
- If a match is found, the corresponding index (zero-based) in the <var>AValues</var>
- array is returned.
- If no match is found, -1 is returned.
- The strings are matched ignoring case.</descr>
- <errors>None</errors>
- <seealso>
- <link id="AnsiIndexStr"/>
- <link id="AnsiMatchStr"/>
- <link id="AnsiMatchText"/>
- </seealso>
- </element>
- <element name="AnsiIndexText.Result">
- <short>Index of the matching element in the array, otherwise -1.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiIndexText.AText">
- <short>String to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiIndexText.AValues">
- <short>Array of strings to search in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiContainsStr">
- <short>Checks whether a string contains a given substring</short>
- <descr>
- <var>AnsiContainsString</var>
- checks whether <var>AText</var>
- contains <var>ASubText</var>, and returns <var>True</var> if this is the case, or returns <var>False</var> otherwise.
- The search is performed case-sensitive.</descr>
- <errors>None</errors>
- <seealso>
- <link id="AnsiContainsText"/>
- <link id="AnsiEndsStr"/>
- <link id="AnsiIndexStr"/>
- <link id="AnsiStartsStr"/>
- </seealso>
- </element>
- <element name="AnsiContainsStr.Result">
- <short>
- <var>True</var>
- if the string contains the given substring, <var>False</var> otherwise</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiContainsStr.AText">
- <short>String to search in</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiContainsStr.ASubText">
- <short>The substring to be searched for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiStartsStr">
- <short>Check whether a string starts with a given substring, observing case</short>
- <descr>
- <var>AnsiEndsStr</var>
- checks <var>AText</var>
- to see whether it starts with <var>ASubText</var>
- , and returns <var>True</var>
- if it does, <var>False</var>
- if not.
- The check is performed case-sensitive. Basically, it checks whether the position of <var>ASubText</var>
- equals 1.</descr>
- <errors/>
- <seealso>
- <link id="AnsiEndsStr"/>
- <link id="AnsiStartsStr"/>
- <link id="AnsiIndexStr"/>
- <link id="AnsiContainsStr"/>
- </seealso>
- </element>
- <element name="AnsiStartsStr.Result">
- <short>
- <var>True</var>
- if the given string starts with the substring, <var>False</var> if not.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiStartsStr.ASubText">
- <short>Substring to check for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiStartsStr.AText">
- <short>String to check in</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiEndsStr">
- <short>Check whether a string ends with a certain substring</short>
- <descr>
- <var>AnsiEndsStr</var>
- checks <var>AText</var> to see whether it ends with <var>ASubText</var>, and returns <var>True</var> if it does, <var>False</var> if not.
- The check is performed case-sensitive. Basically, it checks whether the position of <var>ASubText</var> equals the length of <var>AText</var> minus the length of <var>ASubText</var> plus one.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiEndsText"/>
- <link id="AnsiStartsStr"/>
- <link id="AnsiIndexStr"/>
- <link id="AnsiContainsStr"/>
- </seealso>
- </element>
- <element name="AnsiEndsStr.Result">
- <short>
- <var>True</var>
- if the string ends on the substring, <var>False</var> otherwise.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiEndsStr.ASubText">
- <short>Substring to check for.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiEndsStr.AText">
- <short>Text to check the end of</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceStr">
- <short>Search and replace all occurrences of a string, case sensitive.</short>
- <descr>
- <var>AnsiReplaceString</var>
- searches <var>AText</var> for all occurrences of the string <var>AFromText</var> and replaces them with <var>AToText</var>, and returns the resulting string. The search is performed observing case.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiReplaceText"/>
- <link id="SearchBuf"/>
- </seealso>
- </element>
- <element name="AnsiReplaceStr.Result">
- <short>Result of the search and replace operation</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceStr.AText">
- <short>String in which to search and replace.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceStr.AFromText">
- <short>String to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReplaceStr.AToText">
- <short>String to replace with</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchStr">
- <short>Check whether a string occurs in an array of strings, observing case.</short>
- <descr>
- <p>
- <var>AnsiIndexStr</var>
- matches <var>AText</var> against each string in <var>AValues</var>.
- If a match is found, it returns <var>True</var>, otherwise <var>False</var> is returned.
- The strings are matched observing case.
- </p>
- <p>This function simply calls <link id="AnsiIndexStr"/> ad checks whether it returns -1 or not.
- </p>
- </descr>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchStr.Result">
- <short>
- <var>True</var>
- if the value appears in the array, <var>False</var> if not.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchStr.AText">
- <short>String to check for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMatchStr.AValues">
- <short>Array of string values to search in</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiIndexStr">
- <short>Searches, observing case, for a string in an array of strings.</short>
- <descr>
- <var>AnsiIndexStr</var>
- matches <var>AText</var>
- against each string in <var>AValues</var>
- .
- If a match is found, the corresponding index (zero-based) in the <var>AValues</var>
- array is returned.
- If no match is found, -1 is returned.
- The strings are matched observing case.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiIndexText"/>
- <link id="AnsiMatchStr"/>
- <link id="AnsiMatchText"/>
- </seealso>
- </element>
- <element name="AnsiIndexStr.Result">
- <short>Index of the matching element in the array, otherwise -1.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiIndexStr.AText">
- <short>String to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiIndexStr.AValues">
- <short>Array of strings to search in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DupeString">
- <short>Creates and concatenates N copies of a string</short>
- <descr>
- <p>
- <var>DupeString</var>
- returns a string consisting of <var>ACount</var> concatenations of <var>AText</var>.
- Thus
- </p>
- <pre>DupeString('1234567890',3);
- </pre>
- <p>will produce a string
- </p>
- <pre>'123456789012345678901234567890'
- </pre>
- </descr>
- <errors>None.</errors>
- <seealso/>
- </element>
- <element name="DupeString.Result">
- <short>Copies of the original string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DupeString.AText">
- <short>String to duplicate</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DupeString.ACount">
- <short>Number of copies to create</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ReverseString">
- <short>Reverse characters in a string</short>
- <descr>
- <var>ReverseString</var>
- returns a string, made up of the characters in string <var>AText</var>, in reverse order.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="RandomFrom"/>
- </seealso>
- </element>
- <element name="ReverseString.Result">
- <short>String with characters in reversed order.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ReverseString.AText">
- <short>String to reverse</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReverseString">
- <short>Reverse the letters in a string.</short>
- <descr>
- <p>
- <var>AnsiReverseString</var>
- returns a string with all characters of <var>AText</var> in reverse order.
- </p>
- <p>if the result of this function equals <var>AText</var>, <var>AText</var> is called an anagram.</p>
- </descr>
- <errors>None.</errors>
- <seealso/>
- </element>
- <element name="AnsiReverseString.Result">
- <short>Reversed string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiReverseString.AText">
- <short>String to reverse</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="StuffString">
- <short>Replace part of a string with another string.</short>
- <descr>
- <var>StuffString</var>
- returns a copy of <var>AText</var> with the segment starting at <var>AStart</var> with length <var>ALength</var>, replaced with the string <var>ASubText</var>.
- Basically it deletes the segment of <var>Atext</var> and inserts the new text in it's place.</descr>
- <errors>No checking on the validity of the AStart and ALength parameters is done. Providing invalid values may result in access violation errors.</errors>
- <seealso>
- <link id="FindPart"/>
- <link id="DelChars"/>
- <link id="DelSpace"/>
- <link id="ExtractSubStr"/>
- <link id="DupeString"/>
- </seealso>
- </element>
- <element name="StuffString.Result">
- <short>Resulting string with indicated section replaced.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="StuffString.AText">
- <short>Text on which to operate.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="StuffString.AStart">
- <short>Start of section to be replaced.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="StuffString.ALength">
- <short>Length of section to be replaced.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="StuffString.ASubText">
- <short>Text to insert at the indicated position.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RandomFrom">
- <short>Choose a random string from an array of strings.</short>
- <descr>
- <var>RandomFrom</var>
- picks at random a valid index in the array <var>AValues</var> and returns the string at that position in the array.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiMatchStr"/>
- <link id="AnsiMatchText"/>
- </seealso>
- </element>
- <element name="RandomFrom.Result">
- <short>Random string picked from the array.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RandomFrom.AValues">
- <short>Strings to choose from</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen.AValue">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen.ATrue">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen.AFalse">
- <short>String to return if the expression evaluates as <var>false</var>. Default is the empty string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen">
- <short>Returns one of two strings, depending on a boolean expression</short>
- <descr>
- <var>IfThen</var>
- returns <var>ATrue</var> if <var>AValue</var> is <var>True</var>, and returns <var>AFalse</var> if <var>AValue</var> is false.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiMatchStr"/>
- <link id="AnsiMatchText"/>
- </seealso>
- </element>
- <element name="IfThen.Result">
- <short>Either <var>AFalse</var> or <var>ATrue</var>, depending on the expression.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen.AValue">
- <short>Determines which of the two possibilities to take</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IfThen.ATrue">
- <short>String to return if the expression evaluates as <var>True</var>.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftStr">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftStr.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftStr.AText">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftStr.ACount">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightStr">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightStr.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightStr.AText">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightStr.ACount">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr.AText">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr.AStart">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr.ACount">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightBStr">
- <short>Copy a given number of characters (bytes), counting from the right of a string.</short>
- <descr>
- <var>RightBStr</var>
- returns a string containing the rightmost <var>AByteCount</var> bytes from the string <var>AText</var>.
- If <var>AByteCount</var> is larger than the length (in bytes) of <var>AText</var>, only as many bytes as available are returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="LeftBStr"/>
- <link id="AnsiRightStr"/>
- <link id="RightStr"/>
- <link id="MidBStr"/>
- </seealso>
- </element>
- <element name="RightBStr.Result">
- <short>Resulting string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightBStr.AText">
- <short>String to copy characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightBStr.AByteCount">
- <short>Number of characters (bytes) to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidBStr">
- <short>Copies a number of characters starting at a given position in a string.</short>
- <descr>
- <var>MidBStr</var>
- returns a string containing the first <var>AByteCount</var>
- bytes from the string <var>AText</var> starting at position <var>AByteStart</var>.
- If <var>AByteStart+AByteCount</var> is larger than the length (in bytes) of <var>AText</var>, only as many bytes as available are returned.
- If <var>AByteStart</var> is less than 1 or larger than the length of <var>AText</var>, then no characters are returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="LeftBStr"/>
- <link id="AnsiMidStr"/>
- <link id="RightBStr"/>
- <link id="MidStr"/>
- </seealso>
- </element>
- <element name="MidBStr.Result">
- <short>Resulting string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidBStr.AText">
- <short>String to copy characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidBStr.AByteStart">
- <short>Position (in bytes) to start copying from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidBStr.AByteCount">
- <short>Number of characters (bytes) to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiLeftStr">
- <short>Copies a number of characters starting at the left of a string</short>
- <descr>
- <p>
- <var>AnsiLeftStr</var>
- returns the <var>ACount</var> leftmost characters from <var>AText</var>. If <var>ACount</var> is larger than the length of <var>AText</var>, only as much characters as available in <var>AText</var> will be copied.
- If <var>ACount</var> is zero or negative, no characters will be copied. The characters are counted as characters, not as Bytes.
- </p>
- <p>This function corresponds to the Visual Basic <var>LeftStr</var> function.</p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiMidStr"/>
- <link id="AnsiRightStr"/>
- <link id="LeftStr"/>
- <link id="RightStr"/>
- <link id="MidStr"/>
- <link id="LeftBStr"/>
- <link id="RightBStr"/>
- <link id="MidBStr"/>
- </seealso>
- </element>
- <element name="AnsiLeftStr.Result">
- <short>Resulting string contains the first <var>ACount</var> characters</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiLeftStr.AText">
- <short>String to copy characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiLeftStr.ACount">
- <short>The number of characters to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiRightStr">
- <short>Copies a number of characters starting at the right of a string</short>
- <descr>
- <p>
- <var>AnsiLeftStr</var>
- returns the <var>ACount</var> rightmost characters from <var>AText</var>. If <var>ACount</var> is larger than the length of <var>AText</var>, only as much characters as available in <var>AText</var> will be copied.
- If <var>ACount</var> is zero or negative, no characters will be copied. The characters are counted as characters, not as Bytes.
- </p>
- <p>This function corresponds to the Visual Basic <var>RightStr</var> function.</p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="AnsiLeftStr"/>
- <link id="AnsiMidStr"/>
- <link id="LeftStr"/>
- <link id="RightStr"/>
- <link id="MidStr"/>
- <link id="LeftBStr"/>
- <link id="RightBStr"/>
- <link id="MidBStr"/>
- </seealso>
- </element>
- <element name="AnsiRightStr.Result">
- <short>Resulting string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiRightStr.AText">
- <short>String to copy characters from</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiRightStr.ACount">
- <short>Number of characters to copy</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMidStr">
- <short>Returns a number of characters copied from a given location in a string</short>
- <descr>
- <p>
- <var>AnsiMidStr</var>
- returns <var>ACount</var> characters from <var>AText</var>, starting at position <var>AStart</var>. If <var>AStart+ACount</var> is larger than the length of <var>AText</var>, only as much characters as available in <var>AText</var> (starting from <var>AStart</var>) will be copied.
- If <var>ACount</var> is zero or negative, no characters will be copied. The characters are counted as characters, not as Bytes.
- </p>
- <p>This function corresponds to the Visual Basic <var>MidStr</var> function.</p>
- </descr>
- <errors>None</errors>
- <seealso>
- <link id="AnsiLeftStr"/>
- <link id="AnsiRightStr"/>
- <link id="LeftStr"/>
- <link id="RightStr"/>
- <link id="MidStr"/>
- <link id="LeftBStr"/>
- <link id="RightBStr"/>
- <link id="MidBStr"/>
- </seealso>
- </element>
- <element name="AnsiMidStr.Result">
- <short>The resulting string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMidStr.AText">
- <short>String from which to copy</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMidStr.AStart">
- <short>1-based location in the string where to copy from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiMidStr.ACount">
- <short>Number of characters to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftBStr">
- <short>Copies Count characters starting at the left of a string.</short>
- <descr>
- <var>LeftBStr</var>
- returns a string containing the leftmost <var>AByteCount</var>
- bytes from the string <var>AText</var>
- .
- If <var>AByteCount</var>
- is larger than the length (in bytes) of <var>AText</var>
- , only as many bytes as available are returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="LeftStr"/>
- <link id="AnsiLeftStr"/>
- <link id="RightBStr"/>
- <link id="MidBStr"/>
- </seealso>
- </element>
- <element name="LeftBStr.Result">
- <short>First N characters of the string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftBStr.AText">
- <short>String to copy characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftBStr.AByteCount">
- <short>Number of characters to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftStr">
- <short>Copies Count characters starting at the left of a string.</short>
- <descr>
- <var>LeftStr</var>
- returns a string containing the leftmost <var>ACount</var>
- characters from the string <var>AText</var>
- .
- If <var>ACount</var>
- is larger than the length (in characters) of <var>AText</var>
- , only as many characters as available are returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="LeftBStr"/>
- <link id="AnsiLeftStr"/>
- <link id="RightStr"/>
- <link id="MidStr"/>
- </seealso>
- </element>
- <element name="LeftStr.Result">
- <short>First N characters of the string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftStr.AText">
- <short>String to copy characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="LeftStr.ACount">
- <short>Number of characters to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightStr">
- <short>Copy a given number of characters, counting from the right of a string.</short>
- <descr>
- <var>RightStr</var>
- returns a string containing the rightmost <var>ACount</var>
- characters from the string <var>AText</var>
- .
- If <var>ACount</var>
- is larger than the length (in characters) of <var>AText</var>
- , only as many characters as available are returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="LeftStr"/>
- <link id="AnsiRightStr"/>
- <link id="RightBStr"/>
- <link id="MidStr"/>
- </seealso>
- </element>
- <element name="RightStr.Result">
- <short>Resulting string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightStr.AText">
- <short>String to copy characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RightStr.ACount">
- <short>Number of characters to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr">
- <short>Copies a number of characters starting at a given position in a string.</short>
- <descr>
- <p>
- <var>MidStr</var>
- returns a string containing the first <var>ACount</var> bytes from the string <var>AText</var>
- starting at position <var>AStart</var>. If <var>AStart+ACount</var> is larger than the length (in characters) of
- <var>AText</var>, only as many characters as available are returned.
- If <var>AStart</var> is less than 1 or larger than the length of <var>AText</var>, then no characters are returned.
- </p>
- <p>This function is equivalent to the standard <var>Copy</var> function, and is provided for completeness only.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="LeftStr"/>
- <link id="AnsiMidStr"/>
- <link id="RightStr"/>
- <link id="MidBStr"/>
- </seealso>
- </element>
- <element name="MidStr.Result">
- <short>Resulting string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr.AText">
- <short>String to copy characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr.AStart">
- <short>Position (in characters) to start copying from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="MidStr.ACount">
- <short>Number of characters to copy.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordDelimiters">
- <short>Standard word delimiters</short>
- <descr>Standard word delimiters, used in the <link id="SearchBuf"/> call.</descr>
- <errors/>
- <seealso/>
- </element>
- <element name="TStringSearchOption">
- <short>Possible options for <link id="SearchBuf"/> call.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TStringSearchOption.soDown">
- <short>Search in down direction.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TStringSearchOption.soMatchCase">
- <short>Match case</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TStringSearchOption.soWholeWord">
- <short>Search whole words only.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TStringSearchOptions">
- <short>Set of options for <link id="SearchBuf"/> call.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.Buf">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.BufLen">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.SelStart">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.SelLength">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.SearchString">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.Options">
- <short>Search options</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf">
- <short>Search a buffer for a certain string.</short>
- <descr>
- <p>
- <var>SearchBuf</var>
- searches the buffer <var>Buf</var> for the occurrence of <var>SearchString</var>.
- At must <var>Buflen</var> characters are searched, and the search is started at <var>SelStart</var>+<var>SelLength</var>.
- If a match is found, a pointer to the position of the match is returned.
- The parameter <link id="TStringSearchOption">Options</link> specifies how the search is conducted. It is a set of the following options:
- </p>
- <table>
- <th>
- <td>Option</td>
- <td>Effect</td>
- </th>
- <tr>
- <td>soDown</td>
- <td>Searches forward, starting at the end of the selection. Default is searching up</td>
- </tr>
- <tr>
- <td>soMatchCase</td>
- <td>Observe case when searching. Default is to ignore case.</td>
- </tr>
- <tr>
- <td>soWholeWord</td>
- <td>Match only whole words. Default also returns parts of words</td>
- </tr>
- </table>
- <p>The standard constant <link id="WordDelimiters"/> is used to mark the boundaries of words.
- </p>
- <p>The <var>SelStart</var> parameter is zero based.
- </p>
- </descr>
- <errors>Buflen must be the real length of the string, no checking on this is performed.</errors>
- <seealso>
- <link id="FindPart"/>
- <link id="ExtractWord"/>
- <link id="ExtractWordPos"/>
- <link id="ExtractSubStr"/>
- <link id="IsWordPresent"/>
- </seealso>
- </element>
- <element name="SearchBuf.Result">
- <short>Position of the string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.Buf">
- <short>Buffer to search</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.BufLen">
- <short>Length of the buffer.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.SelStart">
- <short>Start of selection.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.SelLength">
- <short>Length of selection.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SearchBuf.SearchString">
- <short>String to search for.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.SubStr">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.S">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.Offset">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.SubStr">
- <short>String to search for.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.S">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx">
- <short>Search for the occurance of a character in a string, starting at a certain position.</short>
- <descr>
- <var>PosEx</var>
- returns the position of the first occurrence of the character <var>C</var> or the substring
- <var>SubStr</var> in the string <var>S</var>, starting the search at position <var>Offset</var> (default 1).
- If <var>C</var> or <var>SubStr</var> does not occur in <var>S</var> after the given <var>Offset</var>, zero is returned.
- The position Offset is also searched.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="NPos"/>
- <link id="AnsiContainsText"/>
- <link id="AnsiContainsStr"/>
- </seealso>
- </element>
- <element name="PosEx.Result">
- <short>Position of the character, or -1 if it is not found.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.c">
- <short>Character to search for.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.S">
- <short>String to search.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PosEx.Offset">
- <short>Initial position where to start searching.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TSoundexLength">
- <short>Range of allowed soundex lengths.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Soundex">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Soundex.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Soundex.AText">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Soundex.ALength">
- <short>Length of the soundex</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Soundex">
- <short>Compute the soundex of a string</short>
- <descr>
- <var>Soundex</var>
- computes a soundex code for <var>AText</var>.
- The resulting code will at most have <var>ALength</var> characters.
- The soundex code is computed according to the US system of soundex computing, which may result in
- inaccurate results in other languages.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="SoundexCompare"/>
- <link id="SoundexInt"/>
- <link id="SoundexProc"/>
- <link id="SoundexWord"/>
- <link id="SoundexSimilar"/>
- </seealso>
- </element>
- <element name="Soundex.Result">
- <short>String with the soundex code of the original string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Soundex.AText">
- <short>Text to compute soundex of</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TSoundexIntLength">
- <short>Range of allowed integer soundex lengths.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexInt">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexInt.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexInt.AText">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexInt.ALength">
- <short>Length of the soundex value to compute.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexInt">
- <short>Soundex value as an integer.</short>
- <descr>
- <var>SoundexInt</var>
- computes the <link id="Soundex"/> code (with length <var>ALength</var>, default 4) of <var>AText</var>,
- and converts the code to an integer value.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="Soundex"/>
- <link id="SoundexCompare"/>
- <link id="SoundexProc"/>
- <link id="SoundexWord"/>
- <link id="SoundexSimilar"/>
- </seealso>
- </element>
- <element name="SoundexInt.Result">
- <short>Soundex value as a astring.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexInt.AText">
- <short>Text for which to compute soundex value.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DecodeSoundexInt">
- <short>Decodes the integer representation of a soundex code and returns the original soundex code.</short>
- <descr>
- <var>DecodeSoundexInt</var>
- converts the integer value <var>AValue</var> to a soundex string.
- It performs the reverse operation of the <link id="SoundexInt"/> function.
- The result is the soundex string corresponding to <var>AValue</var>.
- .</descr>
- <errors>None.</errors>
- <seealso>
- <link id="SoundexInt"/>
- <link id="DecodeSoundexWord"/>
- <link id="Soundex"/>
- </seealso>
- </element>
- <element name="DecodeSoundexInt.Result">
- <short>Soundex code corresponding to the integer value.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DecodeSoundexInt.AValue">
- <short>Integer soundex value.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexWord">
- <short>Calculate a word-sized soundex value</short>
- <descr>
- <var>SoundexInt</var>
- computes the <link id="Soundex"/> code (with length 4) of <var>AText</var>
- , and converts the code to a word-sized value.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="Soundex"/>
- <link id="SoundexCompare"/>
- <link id="SoundexInt"/>
- <link id="SoundexProc"/>
- <link id="SoundexSimilar"/>
- </seealso>
- </element>
- <element name="SoundexWord.Result">
- <short>Soundex value as a word.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexWord.AText">
- <short>String to calculate soundex value of</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DecodeSoundexWord">
- <short>Decodes the word-sized representation of a soundex code and returns the original soundex code.</short>
- <descr>
- <var>DecodeSoundexWord</var>
- converts the integer value <var>AValue</var>
- to a soundex string.
- It performs the reverse operation of the <link id="SoundexWord"/>
- function.
- The result is the soundex string corresponding to <var>AValue</var>
- .</descr>
- <errors>None.</errors>
- <seealso>
- <link id="SoundexInt"/>
- <link id="DecodeSoundexInt"/>
- <link id="Soundex"/>
- </seealso>
- </element>
- <element name="DecodeSoundexWord.Result">
- <short>Soundex code corresponding to the word-sized value.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DecodeSoundexWord.AValue">
- <short>Word-sized soundex value.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar.AText">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar.AOther">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar.ALength">
- <short>Soundex length (default 4)</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar">
- <short>Check whether 2 strings have equal soundex values</short>
- <descr>
- <var>SoundexSimilar</var>
- returns <var>True</var> if the soundex codes (with length <var>ALength</var>) of <var>AText</var> and <var>AOther</var> are equal, and <var>False</var> if they are not.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="Soundex"/>
- <link id="SoundexCompare"/>
- <link id="SoundexInt"/>
- <link id="SoundexProc"/>
- <link id="SoundexWord"/>
- <link id="Soundex"/>
- </seealso>
- </element>
- <element name="SoundexSimilar.Result">
- <short>
- <var>True</var>
- if the strings have the same soundex value, <var>False</var> otherwise</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar.AText">
- <short>First string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexSimilar.AOther">
- <short>Second string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare.Result">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare.AText">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare.AOther">
- <short/>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare.ALength">
- <short>Length of soundexes to compare.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare">
- <short>Compare soundex values of 2 strings.</short>
- <descr>
- <var>SoundexCompare</var>
- computes the soundex codes of <var>AText</var> and <var>AOther</var> and feeds these to <var>CompareText</var>.
- It will return -1 if the soundex code of <var>AText</var> is less than the soundex code of <var>AOther</var>, 0 if they are equal,
- and 1 if the code of <var>AOther</var> is larger than the code of <var>AText</var>.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="Soundex"/>
- <link id="SoundexInt"/>
- <link id="SoundexProc"/>
- <link id="SoundexWord"/>
- <link id="SoundexSimilar"/>
- </seealso>
- </element>
- <element name="SoundexCompare.Result">
- <short>0 if the soundexes are equal. Negative of the first is smaller as the second, positive otherwise.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare.AText">
- <short>First string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexCompare.AOther">
- <short>Second string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexProc">
- <short>Default AnsiResemblesText implementation.</short>
- <descr>
- <var>SoundexProc</var>
- is the standard implementation for the <link id="AnsiResemblesText"/> procedure:
- By default, <var>AnsiResemblesProc</var> is set to this function.
- It compares the soundex codes of <var>AOther</var> and <var>AText</var> and returns <var>True</var> if they are equal, or <var>False</var> if they are not.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="Soundex"/>
- <link id="SoundexCompare"/>
- <link id="SoundexInt"/>
- <link id="SoundexWord"/>
- <link id="SoundexSimilar"/>
- </seealso>
- </element>
- <element name="SoundexProc.Result">
- <short>0 if the soundexes are equal. Negative of the first is smaller as the second, positive otherwise.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexProc.AText">
- <short>Second string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="SoundexProc.AOther">
- <short>First string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TCompareTextProc">
- <short>Function prototype for comparing two string in <link id="AnsiResemblesText"/></short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TCompareTextProc.Result">
- <short>True if strings match, false otherwise.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TCompareTextProc.AText">
- <short>First string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="TCompareTextProc.AOther">
- <short>Second string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiResemblesProc">
- <short>Procedural variable, called when checking 2 strings for resemblances in <link id="AnsiResemblesText"/></short>
- <descr>This procedural variable is standard set to <link id="SoundexProc"/> but can be overriden with a user-defined algorithm.
- This algorithm should return <var>True</var> if <var>AText</var> resembles <var>AOtherText</var>, or <var>False</var> otherwise.
- The standard routine compares the soundexes of the two strings and returns <var>True</var> if they are equal.</descr>
- <errors>None</errors>
- <seealso>
- <link id="AnsiResemblesText"/>
- <link id="SoundexProc"/>
- </seealso>
- </element>
- <element name="IsEmptyStr">
- <short>Check whether a string is empty, disregaring whitespace characters</short>
- <descr>
- <var>IsEmptyStr</var>
- returns <var>True</var> if the string <var>S</var> only contains characters whitespace characters, all characters in <var>EmptyChars</var> are considered whitespace characters.
- If a character not present in <var>EmptyChars</var> is found in <var>S</var>, <var>False</var> is returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="IsWild"/>
- <link id="FindPart"/>
- <link id="IsWordPresent"/>
- </seealso>
- </element>
- <element name="IsEmptyStr.Result">
- <short>
- <var>True</var>
- if the string consists solely of empty characters.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsEmptyStr.S">
- <short>String to check</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsEmptyStr.EmptyChars">
- <short>Characters to consider as whitespace</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DelSpace">
- <short>Delete all occurrences of a space from a string.</short>
- <descr>
- <var>DelSpace</var>
- returns a copy of <var>S</var>
- with all spaces (ASCII code 32) removed from it.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="DelChars"/>
- <link id="DelSpace1"/>
- </seealso>
- </element>
- <element name="DelSpace.Result">
- <short>String with all spaces removed.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DelSpace.S">
- <short>String to delete spaces from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DelChars">
- <short>Delete all occurrences of a given character from a string.</short>
- <descr>
- <var>DelChars</var>
- returns a copy of <var>S</var> with all <var>Chr</var> characters removed from it.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="DelSpace"/>
- <link id="DelSpace1"/>
- </seealso>
- </element>
- <element name="DelChars.Result">
- <short>Original string with all occurrences of the given character deleted.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DelChars.S">
- <short>String to delete characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DelChars.Chr">
- <short>Character which must be deleted.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DelSpace1">
- <short>Reduces sequences of space characters to 1 space character.</short>
- <descr>
- <var>DelSpace1</var>
- returns a copy of <var>S</var>
- with all sequences of spaces reduced to 1 space.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="DelChars"/>
- <link id="DelSpace"/>
- </seealso>
- </element>
- <element name="DelSpace1.Result">
- <short>Original string with series of maximal 1 space.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DelSpace1.S">
- <short>String to reduce space sequences in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Tab2Space">
- <short>Convert tab characters to a number of spaces</short>
- <descr>
- <var>Tab2Space</var>
- returns a copy of <var>S</var> with all tab characters (ASCII character 9) converted to <var>Numb</var> spaces.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="StuffString"/>
- <link id="FindPart"/>
- <link id="ExtractWord"/>
- <link id="DelChars"/>
- <link id="DelSpace"/>
- <link id="DelSpace1"/>
- <link id="DupeString"/>
- </seealso>
- </element>
- <element name="Tab2Space.Result">
- <short>Strng with tab characters replaced</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Tab2Space.S">
- <short>String in which to replace tab characters.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Tab2Space.Numb">
- <short>Number of spaces to replace tab characters with.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="NPos">
- <short>Returns the position of the N-th occurence of a substring in a string.</short>
- <descr>
- <var>NPos</var>
- checks <var>S</var> for the position of the <var>N</var>-th occurrence of <var>C</var>.
- If <var>C</var> occurs less than <var>N</var> times in <var>S</var>, or does not occur in <var>S</var> at all, 0 is returned.
- If <var>N</var> is less than 1, zero is returned.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="WordPosition"/>
- <link id="FindPart"/>
- </seealso>
- </element>
- <element name="NPos.Result">
- <short>Position of N-th occurrence of the substring, -1 if there is none.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="NPos.C">
- <short>Substring to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="NPos.S">
- <short>String to search.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="NPos.N">
- <short>Which position to return</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddChar">
- <short>Add characters to the left of a string till a certain length</short>
- <descr>
- <var>AddChar</var>
- adds characters (<var>C</var>
- ) to the left of S till the length <var>N</var>
- is reached, and returns the resulting string.
- If the length of <var>S</var>
- is already equal to or larger than <var>N</var>
- , then no characters are added.
- The resulting string can be thought of as a right-aligned version of <var>S</var>
- , with length <var>N</var>
- .</descr>
- <errors>None</errors>
- <seealso>
- <link id="AddCharR"/>
- <link id="PadLeft"/>
- <link id="PadRight"/>
- <link id="PadCenter"/>
- </seealso>
- </element>
- <element name="AddChar.Result">
- <short>The resulting string with length <var>N</var></short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddChar.C">
- <short>Char to be added</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddChar.S">
- <short>The string to be treated</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddChar.N">
- <short>The minimal length the string should have</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddCharR">
- <short>Add chars at the end of a string till it reaches a certain length</short>
- <descr>
- <var>AddCharR</var>
- adds characters (<var>C</var>) to the right of S till the length <var>N</var> is reached, and returns the resulting string.
- If the length of <var>S</var> is already equal to or larger than <var>N</var>, then no characters are added.
- The resulting string can be thought of as a left-aligned version of <var>S</var>, with length <var>N</var>
- .</descr>
- <errors>None</errors>
- <seealso>
- <link id="AddChar"/>
- </seealso>
- </element>
- <element name="AddCharR.Result">
- <short>The resulting string with length <var>N</var></short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddCharR.C">
- <short>The character to be added</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddCharR.S">
- <short>The string to be treated</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AddCharR.N">
- <short>The minimal length the string should have</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadLeft">
- <short>Add spaces to the left of a string till a certain length is reached.</short>
- <descr>
- <var>PadLeft</var>
- add spaces to the left of the string <var>S</var>
- till the result reaches length <var>Len</var>
- .
- If the string <var>S</var>
- has length equal to or largert than <var>Len</var>
- , no spaces are added, and the string
- <var>S</var>
- is returned as-is.
- The resulting string is <var>S</var>
- , right-justified on length <var>Len</var>
- .</descr>
- <errors>None.</errors>
- <seealso>
- <link id="PadLeft"/>
- <link id="PadCenter"/>
- <link id="AddChar"/>
- <link id="AddCharR"/>
- </seealso>
- </element>
- <element name="PadLeft.Result">
- <short>String of length N, padded to the left with spaces</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadLeft.S">
- <short>String to pad.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadLeft.N">
- <short>Minimal length of the resulting string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadRight">
- <short>Add spaces to the right of a string till a certain length is reached.</short>
- <descr>
- <var>PadRight</var>
- add spaces to the left of the string <var>S</var> till the result reaches length <var>Len</var>.
- If the string <var>S</var> has length equal to or largert than <var>Len</var>, no spaces are added, and the string <var>S</var> is returned as-is.
- The resulting string is <var>S</var>, left-justified on length <var>Len</var>
- .</descr>
- <errors>None.</errors>
- <seealso>
- <link id="PadLeft"/>
- <link id="PadCenter"/>
- <link id="AddChar"/>
- <link id="AddCharR"/>
- </seealso>
- </element>
- <element name="PadRight.Result">
- <short>String of length N, padded to the right with spaces</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadRight.S">
- <short>String to pad.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadRight.N">
- <short>Minimal length of the resulting string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadCenter">
- <short>Pad the string to a certain length, so the string is centered.</short>
- <descr>
- <var>PadCenter</var>
- add spaces to the left and right of the string <var>S</var> till the result reaches length <var>Len</var>.
- If the number of spaces to add is odd, then the extra space will be added at the end.
- If the string <var>S</var> has length equal to or largert than <var>Len</var>, no spaces are added, and the string <var>S</var> is returned as-is.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="PadLeft"/>
- <link id="PadRight"/>
- <link id="AddChar"/>
- <link id="AddCharR"/>
- </seealso>
- </element>
- <element name="PadCenter.Result">
- <short>Centered string of the specified length</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadCenter.S">
- <short>String to center</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="PadCenter.Len">
- <short>Desired length of the resulting string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2Symb">
- <short>Returns all characters in a string till a given character (not included).</short>
- <descr>
- <p>
- <var>Copy2SymbDel</var>
- determines the position of the first occurrence of <var>Symb</var> in the string <var>S</var>
- and returns all characters up to this position. The <var>Symb</var> character itself is not included in the result string. The string <var>S</var> is left untouched.
- If <var>Symb</var> does not appear in <var>S</var>, then the whole of <var>S</var> is returned.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="Copy2Space"/>
- <link id="Copy2SymbDel"/>
- </seealso>
- </element>
- <element name="Copy2Symb.Result">
- <short>Characters from the string till the first occurence of the given character.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2Symb.S">
- <short>String to return first characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2Symb.Symb">
- <short>Symbol till which characters will be copied. Will not be included in the result.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2SymbDel">
- <short>Deletes and returns all characters in a string till a given character (not included).</short>
- <descr>
- <p>
- <var>Copy2SymbDel</var>
- determines the position of the first occurrence of <var>Symb</var> in the string <var>S</var>
- and returns all characters up to this position. The <var>Symb</var> character itself is not included in the result string.
- All returned characters, including the <var>Symb</var> character, are deleted from the string <var>S</var>, after which it is right-trimmed.
- If <var>Symb</var> does not appear in <var>S</var>, then the whole of <var>S</var> is returned, and <var>S</var> itself is emptied.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="Copy2SpaceDel"/>
- <link id="Copy2Symb"/>
- </seealso>
- </element>
- <element name="Copy2SymbDel.Result">
- <short>Characters from the string till the first occurence of the given character.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2SymbDel.S">
- <short>String to delete and return first characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2SymbDel.Symb">
- <short>Symbol till which characters will be copied. Will not be included in the result.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2Space">
- <short>Returns all characters in a string till the first space character (not included).</short>
- <descr>
- <p>
- <var>Copy2Space</var>
- determines the position of the first space in the string <var>S</var> and returns all characters up to this position.
- The space character itself is not included in the result string. The string <var>S</var> is left untouched.
- If there is no space in <var>S</var>, then the whole string <var>S</var> is returned.
- </p>
- <p>This function simply calls <link id="Copy2Symb"/> with the space (ASCII code 32) as the symbol argument.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="Copy2Symb"/>
- <link id="Copy2SpaceDel"/>
- </seealso>
- </element>
- <element name="Copy2Space.Result">
- <short>Characters from <var>S</var> till the first space.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2Space.S">
- <short>String to return first characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2SpaceDel">
- <short>Deletes and returns all characters in a string till the first space character (not included).</short>
- <descr>
- <p>
- <var>Copy2SpaceDel</var>
- determines the position of the first space in the string <var>S</var>
- and returns all characters up to this position. The space character itself is not included in the result string.
- All returned characters, including the space, are deleted from the string <var>S</var>, after which it is right-trimmed.
- If there is no space in <var>S</var>, then the whole string <var>S</var> is returned, and <var>S</var> itself is emptied.
- </p>
- <p>This function simply calls <link id="Copy2SymbDel"/> with the space (ASCII code 32) as the symbol argument.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="Copy2SymbDel"/>
- <link id="Copy2Space"/>
- </seealso>
- </element>
- <element name="Copy2SpaceDel.Result">
- <short>Deleted characters from the string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Copy2SpaceDel.S">
- <short>String to delete and return first characters from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiProperCase">
- <short>Pretty-Print a string: make lowercase and capitalize first letters of words</short>
- <descr>
- <var>AnsiProperCase</var>
- converts <var>S</var> to an all lowercase string, but capitalizes the first letter of every word in the string, and returns the resulting string.
- When searching for words, the characters in <var>WordDelimiters</var> are used to determine the boundaries of words.
- The constant <link id="StdWordDelims"/> can be used for this.</descr>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiProperCase.Result">
- <short>Resulting lowercase string with first letters capitalized</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiProperCase.S">
- <short>String to pretty-print</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="AnsiProperCase.WordDelims">
- <short>Characters to use as word delimiters</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordCount">
- <short>Count the number of words in a string.</short>
- <descr>
- <p>
- <var>WordCount</var>
- returns the number of words in the string <var>S</var>.
- A word is a non-empty string of characters bounded by one of the characters in <var>WordDelims</var>.
- </p>
- <p>The pre-defined <link id="StdWordDelims"/> constant can be used for the <var>WordDelims</var> argument.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="WordPosition"/>
- <link id="StdWordDelims"/>
- <link id="ExtractWord"/>
- <link id="ExtractWordPos"/>
- </seealso>
- </element>
- <element name="WordCount.Result">
- <short>Number of words in the string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordCount.S">
- <short>String to search in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordCount.WordDelims">
- <short>Characters to be used as word delimiters.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordPosition">
- <short>Search position of Nth word in a string.</short>
- <descr>
- <p>
- <var>WordPosition</var>
- returns the position (in characters) of the <var>N</var>-th word in the string <var>S</var>.
- A word is a non-empty string of characters bounded by one of the characters in <var>WordDelims</var>.
- If <var>N</var> is out of range, zero is returned.
- </p>
- <p>The pre-defined <link id="StdWordDelims"/> constant can be used for the <var>WordDelims</var> argument.
- </p>
- </descr>
- <errors>None</errors>
- <seealso>
- <link id="WordCount"/>
- <link id="StdWordDelims"/>
- <link id="ExtractWord"/>
- <link id="ExtractWordPos"/>
- </seealso>
- </element>
- <element name="WordPosition.Result">
- <short>Position of the N-th word, or -1 if there is none.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordPosition.N">
- <short>Which word to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordPosition.S">
- <short>String to search in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="WordPosition.WordDelims">
- <short>Characters to be used as word delimiters.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWord">
- <short>Extract the N-th word out of a string.</short>
- <descr>
- <p>
- <var>ExtractWord</var>
- extracts the <var>N</var>-th word from the string <var>S</var>.
- The set of characters in <var>WordDelims</var> are used to mark word boundaries.
- A word is defined as any non-empty sequence of characters which are not present in <var>WordDelims</var>:
- if a character is not in <var>WordDelims</var>, it is considered as part of a word.
- If an <var>N</var>-th word cannot be found, an empty string is returned.
- </p>
- <p>Unlike <link id="ExtractDelimited"/>, an empty string is not a valid return value, i.e. is not a word.
- If an empty string is returned, the index <var>N</var> was out of range.
- </p>
- <p>The pre-defined constant <link id="StdWordDelims"/> can be used for the <var>WordDelims</var> argument.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="ExtractWordPos"/>
- <link id="ExtractSubStr"/>
- <link id="ExtractDelimited"/>
- <link id="IsWordPresent"/>
- <link id="WordCount"/>
- <link id="WordPosition"/>
- </seealso>
- </element>
- <element name="ExtractWord.Result">
- <short>The N-th word, or empty if N is out of range.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWord.N">
- <short>Which word to extract.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWord.S">
- <short>String to extract the word from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWord.WordDelims">
- <short>Characters to use as word delimiters</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWordPos">
- <short>Extract a word from a string, and return the position where it was located in the string.</short>
- <descr>
- <p>
- <var>ExtractWordPos</var>
- extracts the <var>N</var>-th word from the string <var>S</var>
- and returns the position of this word in <var>Pos</var>.
- The set of characters in <var>WordDelims</var>
- are used to mark word boundaries.
- A word is defined as any non-empty sequence of characters which are not present in <var>WordDelims</var>
- :
- if a character is not in <var>WordDelims</var>
- , it is considered as part of a word.
- If an <var>N</var>
- -th word cannot be found, an empty string is returned and <var>Pos</var> is zero.
- </p>
- <p>Unlike <link id="ExtractDelimited"/>, an empty string is not a valid return value, i.e. is not a word.
- If an empty string is returned, the index <var>N</var> was out of range.
- </p>
- <p>The pre-defined constant <link id="StdWordDelims"/> can be used for the <var>WordDelims</var> argument.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="ExtractWord"/>
- <link id="ExtractSubStr"/>
- <link id="IsWordPresent"/>
- <link id="WordCount"/>
- <link id="WordPosition"/>
- </seealso>
- </element>
- <element name="ExtractWordPos.Result">
- <short>N-th word of the string, or empty if N is out of range.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWordPos.N">
- <short>Which word to extract</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWordPos.S">
- <short>String to extract a word from.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWordPos.WordDelims">
- <short>Characters to use as word delimiters</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractWordPos.Pos">
- <short>On return, contains the position of the N-th word.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractDelimited">
- <short>Extract the N-th delimited part from a string.</short>
- <descr>
- <p>
- <var>ExtractDelimited</var>
- extracts the <var>N</var>-th part from the string <var>S</var>.
- The set of characters in <var>Delims</var> are used to mark part boundaries.
- When a delimiter is encountered, a new part is started and the old part is ended.
- Another way of stating this is that any (possibly empty) series of characters not in <var>Delims</var>,
- situated between 2 characters in <var>Delims</var>, it is considered as piece of a part.
- This means that if 2 delimiter characters appear next to each other, there is an empty part between it.
- If an <var>N</var>-th part cannot be found, an empty string is returned. However,
- unlike <link id="ExtractWord"/>, an empty string is a valid return value, i.e. a part can be empty.
- </p>
- <p>The pre-defined constant <link id="StdWordDelims"/> can be used for the <var>Delims</var> argument.
- The pre-defined constant <link id="Brackets"/> would be better suited the <var>Delims</var> argument
- e.g. in case factors in a mathematical expression are searched.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="ExtractSubStr"/>
- <link id="ExtractWord"/>
- <link id="ExtractWordPos"/>
- </seealso>
- </element>
- <element name="ExtractDelimited.Result">
- <short>N-th word</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractDelimited.N">
- <short>Which word to extract</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractDelimited.S">
- <short>String to extract word from</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractDelimited.Delims">
- <short>Characters to use as word delimiters.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractSubstr">
- <short>Extract a word from a string, starting at a given position in the string.</short>
- <descr>
- <p>
- <var>ExtractSubStr</var>
- returns all characters from <var>S</var> starting at position <var>Pos</var> till the first character in <var>Delims</var>,
- or till the end of <var>S</var> is reached.
- The delimiter character is not included in the result.
- <var>Pos</var> is then updated to point to the next first non-delimiter character in <var>S</var>.
- If <var>Pos</var> is larger than the Length of <var>S</var>, an empty string is returned.
- </p>
- <p>The pre-defined constant <link id="StdWordDelims"/> can be used for the <var>Delims</var> argument.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="ExtractDelimited"/>
- <link id="ExtractWord"/>
- <link id="ExtractWordPos"/>
- </seealso>
- </element>
- <element name="ExtractSubstr.Result">
- <short>The extracted word.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractSubstr.S">
- <short>String to search in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractSubstr.Pos">
- <short>Initial position to start extracting. On exit returns the position of the next word.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="ExtractSubstr.Delims">
- <short>Characters to use as word delimiters</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWordPresent">
- <short>Check for the presence of a word in a string.</short>
- <descr>
- <p>
- <var>IsWordPresent</var>
- checks for the presence of the word <var>W</var> in the string <var>S</var>.
- Words are delimited by the characters found in <var>WordDelims</var>.
- The function returns <var>True</var> if a match is found, <var>False</var> otherwise.
- The search is performed case sensitive.
- </p>
- <p>This function is equivalent to the <link id="SearchBuf"/> function with the <var>soWholeWords</var> option specified.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="SearchBuf"/>
- </seealso>
- </element>
- <element name="IsWordPresent.Result">
- <short>
- <var>True</var>
- if the word is present, <var>False</var> if not.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWordPresent.W">
- <short>Word to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWordPresent.S">
- <short>String to search</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWordPresent.WordDelims">
- <short>Characters to use as word separators</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="FindPart">
- <short>Search for a substring in a string, using wildcards.</short>
- <descr>
- <var>FindPart</var>
- searches the string <var>InputStr</var>
- and returns the first string that matches the wildcards specification in <var>HelpWilds</var>
- . If no match is found, and empty string is returned.
- valid wildcards are the "?" (question mark) and "*" (asterisk) characters.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="SearchBuf"/>
- </seealso>
- </element>
- <element name="FindPart.Result">
- <short>String matching the search expression.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="FindPart.HelpWilds">
- <short>Search string, may contain wildcards.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="FindPart.InputStr">
- <short>String to search in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWild">
- <short>Check whether a string matches a wildcard search expression.</short>
- <descr>
- <p>
- <var>IsWild</var>
- checks <var>InputStr</var> for the presence of the <var>Wilds</var> string.
- <var>Wilds</var> may contain "?" and "*" wildcard characters, which have their usual meaning:
- "*" matches any series of characters, possibly empty. "?" matches any single character.
- The function returns <var>True</var> if a string is found that matches <var>Wilds</var>, <var>False</var> otherwise.
- </p>
- <p>If <var>IgnoreCase</var> is <var>True</var>, the non-wildcard characters are matched case insensitively.
- If it is <var>False</var>, case is observed when searching.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="SearchBuf"/>
- <link id="FindPart"/>
- </seealso>
- </element>
- <element name="IsWild.Result">
- <short>
- <var>True</var>
- if the string matches the wildcard specification, <var>False</var> otherwise.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWild.InputStr">
- <short>String to search</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWild.Wilds">
- <short>Wildcard specification</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IsWild.IgnoreCase">
- <short>Search case insensitive or not.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorString">
- <short>Encode a string by XOR-ing its characters using characters of a given key.</short>
- <descr>
- <p>
- <var>XorString</var>
- encodes the string <var>Src</var> by XOR-ing each character in <var>Source</var> with the corresponding character in <var>Key</var>, repeating <var>Key</var> as often as necessary.
- The resulting string may contain unreadable characters and may even contain null characters.
- For this reason it may be a better idea to use the <link id="XorEncode"/> function instead,
- which will representing each resulting ASCII code as a hexadecimal number (of length 2).
- </p>
- <p>Feeding the result again to <var>XorString</var> with the same <var>Key</var>, will result in the original string <var>Src</var>.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="XorEncode"/>
- <link id="XorDecode"/>
- </seealso>
- </element>
- <element name="XorString.Result">
- <short>Resulting string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorString.Key">
- <short>Key to use</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorString.Src">
- <short>String to encode.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorEncode">
- <short>Encode a string by XOR-ing its characters using characters of a given key, representing the result as hex values.</short>
- <descr>
- <p>
- <var>XorEncode</var>
- encodes the string <var>Source</var> by XOR-ing each character in <var>Source</var> with the corresponding character in <var>Key</var> (repeating <var>Key</var> as often as necessary) and representing the resulting ASCII code as a hexadecimal number (of length 2). The result is therefore twice as long as the original string, and every 2 bytes represent an ASCII code.
- </p>
- <p>Feeding the resulting string with the same key <var>Key</var> to the <link id="XorDecode"/> function will result in the original <var>Source</var> string.
- </p>
- <p>This function can be used e.g. to trivially encode a password in a configuration file.
- </p>
- </descr>
- <errors>None.</errors>
- <seealso>
- <link id="XorDecode"/>
- <link id="XorString"/>
- <link id="Hex2Dec"/>
- </seealso>
- </element>
- <element name="XorEncode.Result">
- <short>Original encoded string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorEncode.Key">
- <short>Key to use when encoding.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorEncode.Source">
- <short>String ro encode.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorDecode">
- <short>Decode a string encoded with <link id="XorEncode"/></short>
- <descr>
- <var>XorDecode</var>
- decodes <var>Source</var> and returns the original string that was encrypted using <link id="XorEncode"/> with key <var>Key</var>.
- If a different key is used than the key used to encode the string, the result will be unreadable.</descr>
- <errors>If the string <var>Source</var> is not a valid XorEncode result (e.g. contains non-numerical characters), then a <var>EConversionError</var> exception will be raised.</errors>
- <seealso>
- <link id="XorEncode"/>
- <link id="XorString"/>
- </seealso>
- </element>
- <element name="XorDecode.Result">
- <short>Hexadecimal representation of the XOR-encoded string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorDecode.Key">
- <short>Key to use when decoding.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="XorDecode.Source">
- <short>String to decode</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="GetCmdLineArg">
- <short>Returns the command-line argument following the given switch.</short>
- <descr>
- <p>
- <var>GetCmdLineArg</var>
- returns the value for the <var>Switch</var> option on the command-line, if any is given.
- Command-line arguments are considered switches if they start with one of the characters in the <var>SwitchChars</var> set.
- The value is the command-line argument following the switch command-line argument.
- </p>
- <p>Gnu-style (long) Options of the form switch=value are not supported.
- </p>
- <p>The <link id="StdSwitchChars"/> constant can be used as value for the <var>SwitchChars</var> parameter.
- </p>
- </descr>
- <errors>
- <p>The GetCmdLineArg does not check whether the value of the option does not start with a switch character. i.e. </p>
- <pre>myprogram -option1 -option2
- </pre>
- <p>will result in "-option2" as the result of the <var>GetCmdLineArg</var>
- call for option1.</p>
- </errors>
- <seealso>
- <link id="StdSwitchChars"/>
- </seealso>
- </element>
- <element name="GetCmdLineArg.Result">
- <short>Command line argument that followed the switch</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="GetCmdLineArg.Switch">
- <short>Switch to search for</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="GetCmdLineArg.SwitchChars">
- <short>Switch characters to use. Can be empty.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Numb2USA">
- <short>Insert thousand separators.</short>
- <descr>
- <var>Numb2USA</var>
- inserts thousand separators in the string <var>S</var> at the places where they are supposed to be, i.e. every 3 digits.
- The string <var>S</var> should contain a valid integer number, i.e. no digital number. No checking on this is done.</descr>
- <errors>None.</errors>
- <seealso/>
- </element>
- <element name="Numb2USA.Result">
- <short>String with thousand separators inserted.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Numb2USA.S">
- <short>String to insert thousand separators in.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Hex2Dec">
- <short>Converts a hexadecimal string to a decimal value</short>
- <descr>
- <var>Hex2Dec</var>
- converts the hexadecimal value in the string <var>S</var> to its decimal value.
- Unlike the standard <var>Val</var>or <var>StrToInt</var> functions, there need not be a $ sign in
- front of the hexadecimal value to indicate that it is indeed a hexadecimal value.</descr>
- <errors>If <var>S</var> does not contain a valid hexadecimal value, an <var>EConvertError</var> exception will be raised.</errors>
- <seealso>
- <link id="Dec2Numb"/>
- <link id="IntToBin"/>
- <link id="intToRoman"/>
- <link id="RomanToInt"/>
- </seealso>
- </element>
- <element name="Hex2Dec.Result">
- <short>Hexadecimal value of the string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Hex2Dec.S">
- <short>String to convert</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Dec2Numb">
- <short>Convert a decimal number to a string representation, using given a base.</short>
- <descr>
- <var>Dec2Numb</var>
- converts <var>N</var>
- to its representation using base <var>Base</var>
- .
- The resulting string is left-padded with zeroes till it has length <var>Len</var>
- .
- <var>Base</var>
- must be in the range 2-36 to be meaningful, but no checking on this is performed.</descr>
- <errors>If <var>Base </var>
- is out of range, the resulting string will contain unreadable (non-alphanumeric) characters.</errors>
- <seealso>
- <link id="Hex2Dec"/>
- <link id="IntToBin"/>
- <link id="intToRoman"/>
- <link id="RomanToInt"/>
- </seealso>
- </element>
- <element name="Dec2Numb.Result">
- <short>The representation of the given number.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Dec2Numb.N">
- <short>Number to represent.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Dec2Numb.Len">
- <short>Minimal length of the returned string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Dec2Numb.Base">
- <short>Base to use when converting</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Numb2Dec">
- <short>Converts a string representation of a number to its numerical value, given a certain base.</short>
- <descr>
- <var>Numb2Dec</var>
- converts the number in string <var>S</var> to a decimal value.
- It assumes the number is represented using <var>Base</var> as the base.
- No checking is performed to see whether <var>S</var> contains a valid number using base <var>Base</var>.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="Hex2Dec"/>
- <link id="Hex2USA"/>
- </seealso>
- </element>
- <element name="Numb2Dec.Result">
- <short>Numerical value of the string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Numb2Dec.S">
- <short>String to convert</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Numb2Dec.Base">
- <short>Base to use when converting.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IntToBin">
- <short>Converts an integer to a binary string representation, inserting spaces at fixed locations.</short>
- <descr>
- <var>IntToBin</var>
- converts <var>Value</var> to a string with it's binary (base 2) representation.
- The resulting string contains at least <var>Digits</var> digits, with spaces inserted every <var>Spaces</var> digits.
- <var>Spaces</var> should be a nonzero value. If <var>Digits</var> is larger than 32, it is truncated to 32.</descr>
- <errors>If spaces is zero, a division by zero error will occur.</errors>
- <seealso>
- <link id="Hex2Dec"/>
- <link id="IntToRoman"/>
- </seealso>
- </element>
- <element name="IntToBin.Result">
- <short>Resulting string</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IntToBin.Value">
- <short>Value to convert</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IntToBin.Digits">
- <short>Number of bits in the resulting string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IntToBin.Spaces">
- <short>Number of digits after which to insert a space.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IntToRoman">
- <short>Represent an integer with roman numerals</short>
- <descr>
- <var>IntToRoman</var>
- converts <var>Value</var> to a string with the Roman representation of <var>Value</var>.
- Number up to 1 million can be represented this way.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="RomanToInt"/>
- <link id="Hex2Dec"/>
- <link id="IntToBin"/>
- </seealso>
- </element>
- <element name="IntToRoman.Result">
- <short>
- <var>Value</var>
- in roman numerals</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="IntToRoman.Value">
- <short>Value to convert</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RomanToInt">
- <short>Convert a string with a Roman number to it's decimal value.</short>
- <descr>
- <var>RomanToInt</var>
- returns the decimal equivalent of the Roman numerals in the string <var>S</var>.
- Invalid characters are dropped from <var>S</var>. A negative numeral is supported as well.</descr>
- <errors>None.</errors>
- <seealso>
- <link id="IntToRoman"/>
- <link id="Hex2Dec"/>
- <link id="Numb2Dec"/>
- </seealso>
- </element>
- <element name="RomanToInt.Result">
- <short>Value of the string.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="RomanToInt.S">
- <short>String to convert.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="DigitChars">
- <short>Set of digit characters</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="Brackets">
- <short>Set of characters that contain all possible bracket characters</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <element name="StdWordDelims">
- <short>Standard word delimiter values.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- <short>Various string handling routines</short>
- <descr/>
- <errors/>
- <seealso/>
- <element name="TStringSeachOption">
- <short>Possible options for <link id="SearchBuf"/> call.</short>
- <descr>There is an typo error in the original Borland StrUtils unit.
- This type just refers to the correct <link id="TStringSearchOption"/> and is provided for compatibility only.</descr>
- <errors/>
- <seealso/>
- </element>
- <element name="StdSwitchChars">
- <short>Standard characters for the <var>SwitchChars</var> argument of <link id="GetCmdLineArg"/>.</short>
- <descr/>
- <errors/>
- <seealso/>
- </element>
- </module>
- <!-- strutils -->
- </package>
- </fpdoc-descriptions>
|