Skip to content

A library that makes the dumbest and simplest variable definition possible.

License

Notifications You must be signed in to change notification settings

Zeetheer/remove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remove

A library that makes the dumbest and simplest variable definition possible.

license pub package likes

Usage

First of all, import the library:

import 'package:remove/remove.dart';

Remove Functions

var a = ["Hello", "안녕하세요", "こんにちは", "Γειά σου", "नमस्ते", "你好"];
var b = "abcd";
var c = "aabbccddaa";
a = removeBrakets(a);
b = removeSpecificLetter(b, "a");
c = removeSpecificLetters(c, ["a", "c"]);

Reset Function

var d = "reset it!";
d = resetString(d);

A Simple Example

import 'package:remove/remove.dart';

void main() {
  var a = ["Hello", "안녕하세요", "こんにちは", "Γειά σου", "नमस्ते", "你好"];
  var b = "abcd";
  print(removeBrakets(a));
  b = resetString(b);
  print(b);
  b = "efg";
  print(b);
  b = removeSpecificLetter(b, "e");
  print(b);
  b = resetString(b);
  b = "aabbccaa";
  b = removeSpecificLetters(b, ["a", "c"]);
  print(b);
}

Output

Hello, 안녕하세요, こんにちは, Γειά σου, नमस्ते, 你好

efg
fg
bb

About

A library that makes the dumbest and simplest variable definition possible.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages