Giter Club home page Giter Club logo

chiban-zero-erase's Introduction

Chian-Zero-Erase

これは何

ゼロパディング(ゼロ埋め)された地番から不要なゼロを取り除きます。

Ex. 0100-001 → 100-1
0200-000 → 200
0300 → 300

使い方

PowerShellスクリプトです。セキュリティ設定で署名無しのスクリプトを実行可能なように設定をしておいてください。

適当なディレクトリにChian-Zero-Erase.ps1を置き、Chian-Zero-Erase.ps1を読み込みます

PS> . Chian-Zero-Erase.ps1
PS> Chian-Zero-Erase 0100-001

不要なゼロを除いた地番文字列が表示されます。

100-1

注意

枝番の枝番がある地番(例えば「500-1-2」)や、漢数字の地番、添え字のある地番(例えば「ロ600-1」)などでは意図した形で動作しない可能性があります。


2015-01-15 Hiroyuki Kimura

chiban-zero-erase's People

Contributors

kmr-hryk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.