Created
March 30, 2020 21:13
-
-
Save DevHossamHassan/dbfe602b5fa2d4bb7619b128b04992db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * You can edit, run, and share this code. | |
| * play.kotlinlang.org | |
| */ | |
| fun main() { | |
| val st = """&yet andyet.com Worldwide | |
| 10up 10up.com Worldwide | |
| 15Five 15five.com Europe, Americas | |
| 17hats 17hats.com Worldwide | |
| 18F 18f.gsa.gov USA | |
| 1Password 1password.com Worldwide | |
| abiturma abiturma.de Germany | |
| Ably ably.io Europe | |
| Acquia acquia.com Worldwide | |
| Ad Hoc adhocteam.us USA | |
| Adzuna adzuna.co.uk Worldwide | |
| AE Studio ae.studio USA, BR | |
| Aerolab aerolab.co Latin America | |
| AgFlow http://www.agflow.com Europe | |
| Aha! http://www.aha.io Worldwide | |
| Algorithmia algorithmia.com the USA or Canada | |
| ALICE aliceplatform.com Worldwide | |
| Alight Solutions http://alight.com Worldwide | |
| Alley http://alley.co USA, Canada, Western Europe | |
| allyDVM http://www.allydvm.com USA | |
| AlphaSights engineering.alphasights.com USA, UK, (EST, GMT) | |
| Anexus http://www.anexusit.com Latin America | |
| Anomali anomali.com/company/careers USA, UK, Singapore | |
| apartment therapy http://www.apartmenttherapy.com USA | |
| Appstractor Corporation appstractor.com USA, UK, Israel | |
| ARK ark.io/careers Worldwide | |
| Arkency http://arkency.com Worldwide | |
| Art & Logic artandlogic.com US and Canada | |
| Artefactual Systems artefactual.com UTC-8 to UTC+2 | |
| Articulate articulate.com Worldwide | |
| Astronomer astronomer.io USA | |
| Audiense ⚠️️ http://www.audiense.com Worldwide | |
| Aula Education aula.education Worldwide | |
| Auth0 auth0.com Worldwide | |
| Automattic automattic.com Worldwide | |
| Axelerant axelerant.com Worldwide | |
| Bairesdev http://bairesdev.com Worldwide | |
| Balena balena.io Worldwide | |
| Balsamiq balsamiq.com Worldwide | |
| Bandcamp bandcamp.com Worldwide | |
| Bandzoogle bandzoogle.com Worldwide | |
| Baremetrics baremetrics.com Worldwide | |
| Basecamp basecamp.com Worldwide | |
| BeBanjo http://bebanjo.com Worldwide | |
| BeenVerified beenverified.com Worldwide | |
| Best Practical Solutions bestpractical.com Worldwide | |
| Betable corp.betable.com USA, Europe | |
| BetaPeak betapeak.com | |
| BetterUp betterup.co USA | |
| BeyondPricing beyondpricing.com Worldwide | |
| Big Cartel http://www.bigcartel.com USA | |
| Big Wheel Brigade http://www.bigwheelbrigade.com USA | |
| Bitnami http://bitnami.com Worldwide | |
| Bitovi http://bitovi.com USA & Worldwide | |
| Bizink http://bizinkonline.com | |
| Black Pixel ⚠️️ blackpixel.com | |
| Black Tangent blacktangent.com WorldWide | |
| Blameless blameless.com USA, WorldWide | |
| Bloc ⚠️️ bloc.io | |
| Bluespark ⚠️️ bluespark.com | |
| Brave Investments ⚠️️ http://www.braveinvest.com.br Brazil | |
| Bright Funds ⚠️️ brightfunds.org | |
| BriteCore britecore.com USA, Worldwide | |
| BTownWeb btownweb.com USA, Europe | |
| Buffer buffer.com Worldwide | |
| Bugfender bugfender.com Worldwide | |
| Bulut Yazilim ⚠️️ bulutyazilim.com Worldwide | |
| BuySellAds ⚠️️ buysellads.com | |
| Cabify cabify.com Spain | |
| Canonical http://www.canonical.com Worldwide | |
| Carbon Black carbonblack.com USA, Offices in Boston, MA | |
| Cards Against Humanity ⚠️️ cardsagainsthumanity.com | |
| CareMessage caremessage.org/careers Worldwide | |
| CartoDB cartodb.com Worldwide | |
| CartStack ⚠️️ http://www.cartstack.com | |
| Casumo casumo.com Europe | |
| Chargify chargify.com US | |
| charity: water http://www.charitywater.org US, Offices in NY | |
| Chef chef.io US, UK | |
| ChefsClub chefsclub.com.br Brazil | |
| CircleCI circleci.com | |
| Circonus circonus.com US | |
| CivicActions civicactions.com Worldwide | |
| Clevertech clevertech.biz Worldwide | |
| Close close.com Worldwide | |
| CloudApp getcloudapp.com North America | |
| Codea IT http://www.codeait.com Worldwide | |
| CodePen codepen.io Worldwide | |
| Codeship ⚠️️ codeship.com Worldwide, Offices in USA, Europe | |
| Codestunts codestunts.com Worldwide | |
| Cofense cofense.com USA | |
| Colivre http://colivre.coop.br Worldwide | |
| Collabora ⚠️️ collabora.com | |
| Comet comet.co France | |
| Compose ⚠️️ compose.io | |
| Compucorp️ compucorp.co.uk Worldwide | |
| Connexa connexa.com | |
| ConsenSys consensys.net Worldwide | |
| Consumer Financial Protection Bureau ⚠️️ http://www.consumerfinance.gov USA | |
| Continu ⚠️️ continu.co | |
| Conversio conversio.com Worldwide | |
| Convert convert.com Worldwide | |
| Core-Apps ⚠️️ http://www.core-apps.com USA | |
| CoreOS ⚠️️ coreos.com | |
| Corgibytes http://corgibytes.com US East Coast | |
| Crossover ⚠️️ crossover.com Worldwide | |
| Crowdstrike crowdstrike.com Worldwide | |
| CrowdTangle http://crowdtangle.com USA | |
| Customer.io customer.io Worldwide | |
| Dalenys dalenys.com Europe | |
| DareCode darecode.com Europe | |
| DashboardHub dashboardhub.io Worldwide | |
| Data Science Brigade http://datasciencebr.com Worldwide | |
| Datadog datadoghq.com Worldwide | |
| DataStax http://www.datastax.com Worldwide | |
| Datica datica.com USA | |
| DealDash ⚠️️ http://www.dealdash.com | |
| Delighted ⚠️️ delighted.com | |
| Dev Spotlight devspotlight.com Worldwide | |
| Dgraph dgraph.io Americas | |
| DigitalOcean digitalocean.com Worldwide | |
| Discourse http://www.discourse.org Worldwide | |
| DNSimple dnsimple.com Worldwide | |
| Docker docker.com USA | |
| Doist doist.com Worldwide | |
| DroneDeploy dronedeploy.com Worldwide | |
| Drupal Jedi drupaljedi.com Worldwide | |
| DuckDuckGo duckduckgo.com Worldwide | |
| EarthOfDrones earthofdrones.com Worldwide | |
| Edgar http://meetedgar.com US & Canada | |
| Edify http://edify.cr Costa Rica & Worldwide | |
| Elastic elastic.co Worldwide | |
| Emsisoft emsisoft.com Worldwide | |
| EngineYard (Support Team) ⚠️️ engineyard.com | |
| Enjoei ⚠️️ enjoei.com.br Brazil | |
| Envato envato.com Worldwide | |
| Epam epam.com Worldwide | |
| Equal Experts Portugal equalexperts.com/contact-us/lisbon Europe | |
| Estately ⚠️️ http://www.estately.com | |
| Etch etch.co UK, Europe | |
| Etsy etsy.com Worldwide | |
| EVELO ⚠️️ evelo.workable.com | |
| Evil Martians evilmartians.com Worldwide | |
| Evrone evrone.com Worldwide | |
| Eyeo (Adblock Plus) eyeo.com Worldwide | |
| Fastly ⚠️️ fastly.com | |
| Fauna fauna.com Worldwide | |
| Featurist http://www.featurist.co.uk | |
| Fentime http://www.fentime.com China | |
| Fetlife fetlife.com Worldwide | |
| Filament Group filamentgroup.com USA | |
| Findify findify.io UTC+2 +- 2 | |
| Fire Engine Red ⚠️️ http://fire-engine-red.com | |
| Focusnetworks ⚠️️ http://focusnetworks.com.br Brazil | |
| Fog Creek fogcreek.com Worldwide | |
| Formidable formidable.com US, Canada, UK, Europe | |
| Formstack formstack.com Worldwide | |
| Four Kitchens fourkitchens.com | |
| fournova ⚠️️ fournova.com | |
| Freeagent http://www.freeagent.com Worldwide | |
| Fuel Made http://fuelmade.com Western North America | |
| FullFabric http://fullfabric.com Europe | |
| Functionize functionize.com Worldwide | |
| Gaggle gaggle.net US | |
| Geckoboard geckoboard.com UK | |
| General Assembly ⚠️️ generalassemb.ly | |
| Ghost Foundation ghost.org Worldwide | |
| Giant Swarm giantswarm.io Europe | |
| GigSalad gigsalad.com US | |
| Gitbook gitbook.com | |
| GitHub github.com Worldwide | |
| GitLab about.gitlab.com Worldwide | |
| GitPrime gitprime.com Worldwide | |
| Glenn Website Design glennwebsitedesign.com Worldwide | |
| Glue Networks ⚠️️ http://gluenetworks.com | |
| GoHiring ⚠️️ http://www.gohiring.com Worldwide | |
| Gojob gojob.com France | |
| Gorman Health Group gormanhealthgroup.com US | |
| GotSoccer, LLC ⚠️️ http://www.gotsoccerpro.com | |
| Graylog graylog.org Worldwide | |
| Gridium http://gridium.com US | |
| Groove groovehq.com Worldwide | |
| Grou.ps build.gr.ps Worldwide | |
| Grubhub http://www.grubhub.com US / Worldwide | |
| Gruntwork http://www.gruntwork.io Worldwide | |
| GuideSmiths guidesmiths.com Europe | |
| Hack Reactor Remote http://www.hackreactor.com/remote Pacific Time Zone (PT) | |
| Haiku Learning ⚠️️ http://www.haikulearning.com | |
| Hanno hanno.co Worldwide | |
| Hanzo hanzo.co US, UK, Europe | |
| Happy Cog ⚠️️ http://happycog.com USA | |
| Harvest getharvest.com Worldwide | |
| HashiCorp hashicorp.com US, CA, UK, DE, FR, NL, AU, ... | |
| HE:labs helabs.com Worldwide | |
| Headway headway.io USA | |
| Healthfinch ⚠️️ http://www.healthfinch.com | |
| Heap heapanalytics.com Worldwide | |
| Heetch heetch.com Central Europe Time (CET) +/1h | |
| Help Scout ⚠️️ helpscout.net | |
| Heroku heroku.com US, CA, UK, Europe | |
| Hireology hireology.com United States | |
| Honeybadger ⚠️️ honeybadger.io | |
| Honeycomb honeycomb.tv Worldwide | |
| Hotjar http://careers.hotjar.com Worldwide | |
| Hudl http://www.hudl.com US & UK | |
| Hugo hugo.events Worldwide | |
| Human Made hmn.md Worldwide | |
| Hyperion hyperiondev.com/jobs South Africa | |
| Hypothesis hypothes.is Worldwide | |
| iClinic iclinic.com.br Brazil | |
| IDoneThis ⚠️️ idonethis.com | |
| iFit ifit.com USA | |
| Igalia ⚠️️ http://www.igalia.com | |
| Impala http://www.getimpala.com Europe | |
| Incsub incsub.com Worldwide | |
| Infinite Red infinite.red US & CA | |
| InfluxData influxdata.com US, UK, DE, IT | |
| Inpsyde inpsyde.com/en Europe | |
| InQuicker inquicker.com US & CA | |
| Instamobile instamobile.io Worldwide | |
| Intellum http://www.intellum.com US | |
| Interactive Intelligence inin.com Worldwide | |
| Intercom intercom.io Worldwide | |
| Interpersonal Frequency (I.F.) ⚠️️ ifsight.com | |
| Interview Schedule interviewschedule.com USA | |
| InVision http://www.invisionapp.com Worldwide | |
| IOHK iohk.io Worldwide | |
| IOpipe iopipe.com USA | |
| iOS App Templates iosapptemplates.com | |
| IPS Group, Inc. ⚠️️ http://www.ipsgroupinc.com | |
| iwantmyname iwantmyname.com Worldwide | |
| Jackson River http://jacksonriver.com US | |
| Jitbit jitbit.com Worldwide | |
| Jolly Good Code ⚠️️ http://www.jollygoodcode.com | |
| Joyent joyent.com/careers US, UK, Canada, SK, SG | |
| Keen IO ⚠️️ keen.io | |
| Khan Academy ⚠️️ khanacademy.org | |
| KickBack Rewards Systems ⚠️️ http://careers.kickbacksystems.com | |
| Kiprosh http://kiprosh.com USA & India | |
| Kissmetrics kissmetrics.com USA & Worldwide | |
| Knack knack.com US | |
| Kodify kodify.io EU & Worldwide | |
| Koding ⚠️️ koding.com Worldwide | |
| Komoot komoot.com Worldwide | |
| Kraken kraken.com Worldwide | |
| Kuali kuali.co USA | |
| Lambda School lambdaschool.com USA & Europe | |
| LaterPay laterpay.net | |
| Let's Encrypt letsencrypt.org US and Canada | |
| Librato ⚠️️ librato.com | |
| Lifetime Value Company ltvco.com Worldwide | |
| Lightbend http://www.lightbend.com Worldwide | |
| Linaro ⚠️ linaro.org | |
| Lincoln Loop ⚠️ lincolnloop.com | |
| LINE Plus Corporation linepluscorp.com Republic of Korea | |
| Linux Foundation ⚠️ http://www.linuxfoundation.org | |
| Litmus litmus.com Worldwide | |
| LivingSocial ⚠️️ livingsocial.com | |
| Loadsys Web Strategies loadsys.com US Only | |
| Localistico https://localistico.com Worldwide | |
| Lullabot lullabot.com Worldwide | |
| Lyseon Tech http://lt.coop.br Brazil | |
| madewithlove madewithlove.be UTC-5 to UTC+3 | |
| MailerLite mailerlite.com Worldwide | |
| Manifold manifold.co UTC-9 to UTC+1 | |
| Mapbox mapbox.com Worldwide | |
| Marketade ⚠️️ http://www.marketade.com | |
| MarsBased marsbased.com Worldwide | |
| Mediacurrent mediacurrent.com US Only | |
| Mediavine mediavine.com US | |
| Medium medium.com US Only | |
| Memberful ⚠️️ memberful.com | |
| Memory memory.ai Worldwide | |
| MetaLab ⚠️️ http://metalab.co | |
| MetaMask metamask.io | |
| Mixcloud ⚠️️ mixcloud.com | |
| Mixmax mixmax.com Worldwide | |
| Mobile Jazz mobilejazz.com Worldwide | |
| Mokriya ⚠️️ http://mokriya.com | |
| Mozilla ⚠️️ mozilla.org | |
| mtc. http://www.mtcmedia.co.uk UK & Europe | |
| Muck Rack muckrack.com Worldwide | |
| Mycelium ⚠️️ mycelium.com | |
| MySQL ⚠️️ mysql.com | |
| Netguru netguru.com | |
| Netsparker netsparker.com Worldwide | |
| Nettl Edinburgh http://www.webdesignedinburgh.com UK & Europe | |
| New Context newcontext.com US | |
| NEXT nexttrucking.com US | |
| Next Big Sound ⚠️️ nextbigsound.com | |
| NodeSource nodesource.com Worldwide | |
| NoRedInk noredink.com UTC-8 to UTC+1 | |
| Novoda novoda.com UK & Europe | |
| npm ⚠️️ npmjs.com | |
| Nuna nuna.com US | |
| O'Reilly Media ⚠️ http://www.oreilly.com | |
| Octopus Deploy octopus.com Worldwide | |
| Oddball oddball.io US | |
| Olark olark.com UTC-8 to UTC+1 | |
| Olist olist.com Brazil | |
| Olo olo.com US | |
| OmbuLabs ombulabs.com Worldwide | |
| OmniTI omniti.com US | |
| OpenCraft ⚠️️ http://opencraft.com | |
| OpenZeppelin openzeppelin.com Worldwide | |
| Optoro optoro.com Worldwide | |
| Oracle ⚠️️ http://www.oracle.com Worldwide | |
| Our-Hometown Inc. ⚠️️ http://our-hometown.com US | |
| Over madewithover.com Worldwide | |
| PagerDuty pagerduty.com US | |
| Paktor gopaktor.com Worldwide | |
| Palantir.net palantir.net US | |
| Park Assist http://tech.parkassist.com UTC-8 to UTC+2 | |
| Parker Wallace ⚠️️ http://www.parkerwallace.com | |
| Parsely ⚠️️ http://www.parsely.com | |
| Particular Software ⚠️️ http://particular.net | |
| Pathable ⚠️️ pathable.com | |
| Payfully payfully.co Worldwide | |
| Paylocity ⚠️️ http://www.paylocity.com | |
| PeachWorks ⚠️️ peachworks.com | |
| Pelagicore ⚠️️ http://www.pelagicore.com | |
| PeopleDoc ⚠️️ http://www.people-doc.com | |
| Percona percona.com Worldwide | |
| PicksCo http://interchangehq.com UTC-7 to UTC+1 | |
| Platform Builders platformbuilders.io Worldwide | |
| Platform.sh platform.sh Worldwide | |
| Pleo pleo.io East American / European / African timezones | |
| Plex plex.tv Worldwide | |
| Precision Nutrition ⚠️️ http://www.precisionnutrition.com | |
| PreviousNext ⚠️️ previousnext.com.au | |
| Prezly prezly.com Worldwide | |
| PrivacyCloud privacycloud.com/en Spain | |
| Puppet puppet.com Worldwide | |
| Quaderno quaderno.io Europe | |
| Rackspace rackspace.com Worldwide | |
| Rainforest QA rainforestqa.com/jobs Worldwide | |
| Reaction Commerce reactioncommerce.com/careers Worldwide | |
| ReactiveOps, Inc. reactiveops.com USA | |
| RealHQ ⚠️️ realhq.com | |
| RealtimeCRM realtimecrm.co.uk Worldwide | |
| RebelMouse rebelmouse.com | |
| Receiptful ⚠️️ receiptful.com | |
| ReCharge http://rechargepayments.com Worldwide | |
| Recurly ⚠️️ recurly.com | |
| Red Hat redhat.com Worldwide | |
| RedMonk ⚠️️ http://redmonk.com | |
| Redox redoxengine.com USA | |
| reinteractive ⚠️️ reinteractive.net | |
| RenoFi renofi.com | |
| Research Square researchsquare.com USA | |
| RightScale ⚠️️ http://www.rightscale.com | |
| Roadtrippers roadtrippers.com USA | |
| rtCamp rtcamp.com India | |
| Safari Books Online ⚠️️ safaribooksonline.com | |
| Salesforce ⚠️️ salesforce.com | |
| Sandhills Development http://sandhillsdev.com Worldwide | |
| Sawhorse Media ⚠️️ http://sawhorsemedia.com | |
| Scalac scalac.io Worldwide | |
| Scopic Software http://scopicsoftware.com Worldwide | |
| Scrapinghub ⚠️️ http://scrapinghub.com | |
| SecurityScorecard ⚠️️ securityscorecard.com | |
| SEED ⚠️️ seed.co | |
| Semaphore semaphoreci.com Europe | |
| Sensu sensuapp.org United States and Canada | |
| Server Density serverdensity.com Europe | |
| ServMask servmask.com Worldwide | |
| Shogun getshogun.com Worldwide | |
| SignEasy ⚠️️ http://getsigneasy.com | |
| simplabs http://simplabs.com Europe and Americas | |
| Simple simple.com United States | |
| SimpleTexting simpletexting.com Worldwide | |
| Six to Start http://sixtostart.com Worldwide | |
| Skillcrush http://skillcrush.com Worldwide | |
| Skillshare ⚠️️ skillshare.com/teach | |
| SmugMug smugmug.com Worldwide | |
| SoftwareMill softwaremill.com | |
| Soostone ⚠️️ http://www.soostone.com | |
| Soshace http://www.soshace.com Worldwide | |
| Spoqa http://www.spoqa.com Republic of Korea, Japan | |
| Spreedly spreedly.com United States | |
| Stack Exchange http://stackexchange.com Worldwide | |
| Stairlin stairlin.com Worldwide | |
| Status status.im Worldwide | |
| Stencil getstencil.com United States and Canada | |
| Stitch Fix ⚠️️ stitchfix.com | |
| Stripe stripe.com Worldwide | |
| Strongloop ⚠️️ strongloop.com | |
| StudySoup studysoup.com Worldwide | |
| Superplayer & Co superplayer.co | |
| Surevine ⚠️️ surevine.com | |
| SUSE ⚠️️ suse.com Worldwide | |
| Sutherland CloudSource ⚠️️ sutherlandcloudsource.com | |
| SweetRush ⚠️️ http://www.sweetrush.com | |
| Sysdig ⚠️️ http://www.sysdig.org | |
| Tag1 Consulting ⚠️️ tag1consulting.com Worldwide | |
| Taplytics ⚠️️ taplytics.com | |
| Taskade taskade.com Worldwide | |
| TaxJar taxjar.com United States | |
| teamed. ⚠️️ http://www.teamed.io | |
| TeamSnap teamsnap.com USA | |
| TeamUltra teamultra.net UK | |
| TED ted.com | |
| Teleport ⚠️️ http://teleport.org | |
| Telerik ⚠️️ http://www.telerik.com | |
| Telestax telestax.com Worldwide | |
| Tenable ⚠️️ http://www.tenable.com | |
| Test Double ⚠️️ http://testdouble.com | |
| The Grid thegrid.io Worldwide | |
| The Publisher Desk ⚠️️ http://www.publisherdesk.com | |
| The Remote Lab ⚠️️ http://theremotelab.io | |
| The Scale Factory http://www.scalefactory.com UK | |
| The Wirecutter http://thewirecutter.com Worldwide | |
| Theorem theorem.co UTC-10 to UTC+2 | |
| Thinkful thinkful.com WorldWide | |
| Third Iron thirdiron.com United States | |
| TIDY Homekeeping ⚠️️ http://tidy.com United States | |
| TimeSpot timespothq.com Worldwide | |
| Tipe tipe.io USA | |
| toggl toggl.com Worldwide | |
| Toptal toptal.com Worldwide | |
| Tractionboard ⚠️️ tractionboard.com | |
| Transloadit transloadit.com Worldwide | |
| Travis CI ⚠️️ travis-ci.org | |
| Treehouse teamtreehouse.com United States | |
| Trello trello.com | |
| TrussWorks truss.works United States | |
| Tuft & Needle tuftandneedle.com United States | |
| Twin Technologies ⚠️️ twintechs.com | |
| Udacity udacity.com Worldwide | |
| UpTrending ⚠️️ http://uptrending.com | |
| Upwork Pro ⚠️️ upwork.com | |
| Upworthy ⚠️️ upworthy.com Worldwide (U.S. Timezone) | |
| Ushahidi ushahidi.com Worldwide | |
| Varnish Software ⚠️️ varnish-software.com/about-us Worldwide | |
| Vox Media (Product Team) ⚠️️ http://www.voxmedia.com | |
| WalletHub wallethub.com/jobs | |
| WebDevStudios webdevstudios.com | |
| WebFX webfx.com Worldwide | |
| Webikon http://www.webikon.sk/en Worldwide | |
| WellMatch ⚠️️ wellmatchhealth.com | |
| wemake.services wemake.services Worldwide | |
| Whitecap SEO ⚠️️ http://www.whitecapseo.com | |
| Whitespectre http://whitespectre.com Worldwide | |
| WikiHow ⚠️️ http://www.wikihow.com/wikiHow:About-wikiHow PST Timezone | |
| Wikimedia Foundation wikimediafoundation.org Worldwide | |
| Wildbit http://wildbit.com USA & Worldwide | |
| Wolfram wolfram.com Worldwide | |
| Wombat Security Technologies wombatsecurity.com USA | |
| X-Team http://x-team.com Worldwide | |
| Xapo xapo.com/en Worldwide | |
| Yonder ⚠️️ yonder.io Worldwide | |
| YouCanBook.me Ltd ⚠️️ youcanbook.me | |
| Zapier zapier.com Worldwide | |
| Zeit.io http://zeit.io Germany, The Netherlands, Spain, Chile""".split("\n") | |
| val newS = arrayListOf<String>() | |
| st.forEach(){ line -> | |
| val match = Regex("\\s+[a-z]").find(line) | |
| match?.range?.start?.let{ | |
| newS.add(line.substring(0,it)) | |
| } | |
| } | |
| println(newS) | |
| println(newS.size) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment