Last updated:
0 purchases
remove
Remove #
A library that makes the dumbest and simplest variable definition possible.
Usage #
First of all, import the library:
import 'package:remove/remove.dart';
copied to clipboard
Remove Functions
var a = ["Hello", "안녕하세요", "こんにちは", "Γειά σου", "नमस्ते", "你好"];
var b = "abcd";
var c = "aabbccddaa";
a = removeBrakets(a);
b = removeSpecificLetter(b, "a");
c = removeSpecificLetters(c, ["a", "c"]);
copied to clipboard
Reset Function
var d = "reset it!";
d = resetString(d);
copied to clipboard
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);
}
copied to clipboard
Output
Hello, 안녕하세요, こんにちは, Γειά σου, नमस्ते, 你好
efg
fg
bb
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.