Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aa1024 authored Jun 10, 2018
1 parent 4add51b commit 464f282
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

String helper functions - flip case, space fill, zero fill, camelcase, uncamelcase, underscore separated, snakecase, startcase, traincase

stc
~~~
## stc


startcase "an example string" -> "An Example String"

Expand All @@ -15,11 +15,10 @@ startcase "an example string" -> "An Example String"

q).str.stc"start-case string"

.. _lib-str-sc-label:


sc
~~
## sc


Snakecase : underscore separated text , but the case is preserverd

Expand All @@ -36,7 +35,7 @@ Snakecase : underscore separated text , but the case is preserverd
.. _lib-str-tc-label:


tc
## tc
~~

Traincase : hyphen separated text , but the case is preserverd
Expand All @@ -54,7 +53,7 @@ Traincase : hyphen separated text , but the case is preserverd
.. _lib-str-us-label:


us
## us
~~

Camel case to lower case underscore separated
Expand All @@ -72,7 +71,7 @@ Camel case to lower case underscore separated
.. _lib-str-cc-label:


cc
## cc
~~

To camel case
Expand All @@ -90,7 +89,7 @@ To camel case
.. _lib-str-ucc-label:


ucc
## ucc
~~~
Uncamelcase - Camel case to space separated text , case is preserved
Expand All @@ -108,7 +107,7 @@ Uncamelcase - Camel case to space separated text , case is preserved
.. _lib-str-fc-label:
fc
## fc
~~
Swap/Flip case
Expand All @@ -126,7 +125,7 @@ Swap/Flip case
.. _lib-str-sfl-label:
sfl
## sfl
~~~

Space fill
Expand All @@ -145,7 +144,7 @@ Space fill
.. _lib-str-sfr-label:


sfr
## sfr
~~~
Space fill from right
Expand All @@ -164,7 +163,7 @@ Space fill from right
.. _lib-str-sflb-label:
sflb
## sflb
~~~~
Space fill from left for list of strings
Expand All @@ -183,7 +182,7 @@ Space fill from left for list of strings
.. _lib-str-sfrb-label:
sfrb
## sfrb
~~~~
Space fill from right for list of strings
Expand All @@ -202,7 +201,7 @@ Space fill from right for list of strings
.. _lib-str-zfl-label:
zfl
## zfl
~~~

zero fill
Expand All @@ -221,7 +220,7 @@ zero fill
.. _lib-str-zfr-label:


zfr
## zfr
~~~
zero fill from right
Expand All @@ -240,7 +239,7 @@ zero fill from right
.. _lib-str-strif-label:
strif
## strif
~~~~~
handle the simple case otherwise flaten it to string
Expand Down

0 comments on commit 464f282

Please sign in to comment.