stringprocess 1.0.7 copy "stringprocess: ^1.0.7" to clipboard
stringprocess: ^1.0.7 copied to clipboard

outdatedDart 1 only

A string library for common string operations and general text processing functions.

example/stringprocess_example.dart

// Copyright (c) 2017, daftspaniel. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:stringprocess/stringprocess.dart';

main() {
  // A few simple examples.
  var tps = new StringProcessor();

  // Print the numbers 1 to 10.
  print(tps.generateSequenceString(1, 10, 1));

  // Repeat Something!
  print(tps.generateRepeatedString("Mine!", 42));

  // Word count.
  print(tps.getWordCount("Dart is Awesome and cool!"));

  // Line count.
  print(tps.getLineCount("hello\ngood\nevening\nwelcome!\n"));
}
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A string library for common string operations and general text processing functions.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

html_unescape, markdown

More

Packages that depend on stringprocess