There was an error while loading. Please reload this page.
str
String
Remove all spaces from str
nabbit.cramp( 'H e l l o' ) // => Hello
Transform str to have random capital letters
nabbit.mock( 'Hello' ) // => HeLlO
Reverse str
nabbit.reverse( 'Hello' ) // => olleH
Space out all characters from str
nabbit.space( 'Hello' ) // => H e l l o
length
Number
seed
Generate a random string using a specified length and seed
nabbit.string( 8 ) // => NtJcuDzA nabbit.string( 4, 'ab' ) // => abba
index
char
Replace the character from str at index with char
nabbit.replaceCharAt( 'Hello', 2, 'o' ) // => Heolo