From 867dbdfcde4d92f131f202ae9e5695d278783ea3 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 28 Jun 2018 08:29:32 +0530 Subject: [PATCH] Corrected method name in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bcfde52..7383a1b 100644 --- a/README.md +++ b/README.md @@ -35,28 +35,28 @@ persian.ToEnglishDigits("۱۲۳salam۴۵۶") ### .OnlyEnglishNumbers Extracts only English digits from string. ``` -persian.ToEnglishDigits("123salam۴۵۶") +persian.OnlyEnglishNumbers("123salam۴۵۶") => "123" ``` ### .OnlyPersianNumbers Extracts only Persian digits from string. ``` -persian.ToEnglishDigits("123salam۴۵۶") +persian.OnlyPersianNumbers("123salam۴۵۶") => "۴۵۶" ``` ### .SwitchToPersianKey Converts English chars to their equivalent Persian char on keyboard. ``` -persian.ToEnglishDigits("sghl o,fd ? o,fl llk,k") +persian.SwitchToPersianKey("sghl o,fd ? o,fl llk,k") => "سلام خوبی ؟ خوبم ممنون" ``` ### .SwitchToEnglishKey Converts Persian chars to their equivalent English char on keyboard. ``` -persian.ToEnglishDigits("اثغ صاشفس عح ؟") +persian.SwitchToEnglishKey("اثغ صاشفس عح ؟") => "hey whats up ?" ```