This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
- function reverseString ( string :string ) :string {
1
+ export function reverseString ( string :string ) :string {
2
2
if ( string === "" )
3
3
return "" ;
4
4
else
5
5
return reverseString ( string . substr ( 1 ) ) + string . charAt ( 0 ) ;
6
6
}
7
7
8
- function stringReplaceSubstringOneTimeFromBeginningAndEnd ( string :string , substring :string , replaceWith :string ) :string {
8
+ export function stringReplaceSubstringOneTimeFromBeginningAndEnd ( string :string , substring :string , replaceWith :string ) :string {
9
9
string = string . replace ( substring , replaceWith ) ;
10
10
string = reverseString ( string ) ;
11
11
string = string . replace ( substring , replaceWith ) ;
12
12
string = reverseString ( string ) ;
13
13
return string ;
14
14
}
15
15
16
- function deleteSpaces ( string :string ) :string {
16
+ export function deleteSpaces ( string :string ) :string {
17
17
return string . replace ( / \s / , "" )
18
- }
19
-
20
- export { reverseString , stringReplaceSubstringOneTimeFromBeginningAndEnd , deleteSpaces }
18
+ }
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ $blue: #1a4965;
23
23
@import " ~bootstrap/scss/tables" ;
24
24
@import " ~bootstrap/scss/utilities" ;
25
25
@import " ~bootstrap/scss/forms" ;
26
- @import " ~bootstrap/scss/forms" ;
27
26
@import " ~bootstrap/scss/spinners" ;
28
27
@import " ~bootstrap/scss/alert" ;
29
28
You can’t perform that action at this time.
0 commit comments