Skip to content

Commit 1b048e4

Browse files
committed
typos and so..
1 parent 51a4e0d commit 1b048e4

File tree

5 files changed

+16
-50
lines changed

5 files changed

+16
-50
lines changed

README.md

Lines changed: 14 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -746,36 +746,21 @@ ______________________________________________
746746
747747

748748
___________________
749-
Inherited functions
750-
-------------------
749+
###Tools and imports from my other libraries:
751750

752-
_________________
753-
**From chars.js** ( to be found in the phazelift repositories )
754-
_________________
755-
756-
**Strings.ASCII_RANGE_UPPERCASE**
757-
> `<array> Strings.ASCII_RANGE_UPPERCASE`
758-
759-
> An array with two indexes: [0] is the bottom of range, [1] is the top of range of the ordinal
760-
> value of uppercase ascii characters.
761-
762-
**Strings.ASCII_RANGE_LOWERCASE**
763-
> `<array> Strings.ASCII_RANGE_LOWERCASE`
764-
765-
> An array with two indexes: [0] is the bottom of range, [1] is the top of range of the ordinal
766-
> value of lowercase ascii characters.
767-
768-
**Strings.ASCII_RANGE_NUMBERS**
769-
> `<array> Strings.ASCII_RANGE_NUMBERS`
770-
771-
> An array with two indexes: [0] is the bottom of range, [1] is the top of range of the ordinal
772-
> value of ascii number characters.
773751

774-
**Strings.ASCII_RANGE_ALL**
775-
> `<array> Strings.ASCII_RANGE_ALL`
752+
**Strings.ASCII_RANGE_...**
776753

777-
> An array with two indexes: [0] is the bottom of range, [1] is the top of range of the ordinal
778-
> value of all 'printable' ascii characters.
754+
|Range |Ordinal range |Characters found in range
755+
|:----------------------------------|--------------|:-----------------------------
756+
|Strings.ASCII_RANGE_UPPERCASE |[65,90] |`ABCDEFGHIJKLMNOPQRSTUVWXYZ`
757+
|Strings.ASCII_RANGE_LOWERCASE |[97,122] |`abcdefghijklmnopqrstuvwxyz`
758+
|Strings.ASCII_RANGE_NUMBERS |[48,57] |`0123456789`
759+
|Strings.ASCII_RANGE_SPECIAL_1 |[32,47] |` !"#$%&'()*+,-./`
760+
|Strings.ASCII_RANGE_SPECIAL_2 |[58,64] |`:;<=>?@`
761+
|Strings.ASCII_RANGE_SPECIAL_3 |[91,96] |`[\]^_`\`
762+
|Strings.ASCII_RANGE_SPECIAL_4 |[123,126] |`{|}~`
763+
|Strings.ASCII_RANGE_ALL(printable) |[32,126] |` !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`\``abcdefghijklmnopqrstuvwxyz{|}~`
779764

780765
**Strings.REGEXP_SPECIAL_CHARS**
781766
> `<array> Strings.REGEXP_SPECIAL_CHARS`
@@ -792,25 +777,11 @@ _________________
792777
793778
> Returns the ordinal value of an Ascii character.
794779
795-
**Strings.isUpper**
796-
> `Strings.isUpper( <string> char )`
797-
798-
> Returns true if char is uppercase.
799-
800-
**Strings.isLower**
801-
> `Strings.isLower( <string> char )`
802-
803-
> Returns true if char is lowercase.
804-
805780
**Strings.random**
806781
>`Strings.random( asciiRange= Strings.ASCII_RANGE_ALL )`
807782
808783
> Returns a random character within the given asciiRange. See format above.
809784
810-
_________________
811-
**From tools.js** ( to be found in the phazelift repositories now or soon )
812-
_________________
813-
814785

815786
**Strings.inRange**
816787
> `<boolean> Strings.inRange( <string>/<number> nr, <array> range )`
@@ -849,9 +820,9 @@ _________________
849820
> Removes duplicates from, and reverses the array. Only works on sorted arrays, which you can do with insertSort.
850821
851822
_________________
852-
**From types.js** ( to be found in phazelift repositories )
823+
##types.js
853824

854-
> The entire library (1.8kb) is included in strings.js. Check the repo for general info and API.
825+
> The full library (1.8kb) is included in strings.js. Check my phazelift repository for general info and API.
855826
856827

857828
__________

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strings.js",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "A flexible, robust and powerful Javascript string manipulation library.",
55
"main": "strings.min.js",
66
"scripts": {

strings.coffee

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,5 @@ Strings.crop= Strings.slice
562562
Strings::crop= Strings::slice
563563
Strings::append= Strings::push
564564

565-
# string= new Strings( 'sort', 'charcters', 'and', 5, 2, 9, 1 )
566-
console.log( new Strings('!@ #$').isSpecial() )
567-
568565
if window? then window.Strings= Strings
569566
else module.exports= Strings

strings.js

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

strings.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)