From 86f3d1459e1af814226ed44524b0e057be263851 Mon Sep 17 00:00:00 2001 From: ksdev Date: Mon, 15 Jan 2018 15:41:27 +0100 Subject: [PATCH] Update readme --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ad224a2..447237b 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,10 @@ compile 'pl.ksdev:slugify:0.2' ```java SlugService slugService = new SimpleSlugService(); -String result = slugService.slugify("Zażółć gęślą jaźń"); -System.out.println(result); // "zazolc-gesla-jazn" +String result = slugService.slugify("Zażółć gęślą jaźń"); // result = "zazolc-gesla-jazn" -SlugService slugService = new SimpleSlugService(5); // Adds a max slug length (default = 200) -String result = slugService.slugify("1234567890"); -System.out.println(result); // "12345" +SlugService slugService = new SimpleSlugService(5); // adds a max slug length (default = 200) +String result = slugService.slugify("1234567890"); // result = "12345" ``` ## License