Skip to content

daftspaniel/stringprocess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stringprocess

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

Status

Build Status

Usage

A simple usage example:

import 'package:stringprocess/stringprocess.dart';

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

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

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

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

  // Line count.
  print(tps.getLineCount("hello\ngood\nevening\nwelcome!\n"));
}

Unit Testing

  • pub run test

Check source code formatting:

  • dartfmt -n .

Acknowledgements

This package makes use of the following Dart packages:

  • html_unescape
  • markdown

Features and bugs

Please file feature requests and bugs!

About

String processing library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages