ngx-stringly
Angular library for separating string into prefix, matched and suffix by search matching
Installation
First, save ngx-stringly
to your dependencies.
npm install ngx-stringly --save
How it Works
Import ngx-stringly
to your component.
;
Use Index
in your functions
;; this.result = Searcher.parsetext, find, false;
Result will be
Run Example
I'm using angular 7 for example.
Clone the repository
git clone https://github.com/rizentium/ngx-stringly.git
Open example
directory
cd example
Install packages
npm install
Run server
ng serve
And navigate your browser to http://localhost:4200