This is a simple program that allows a user to get a certain character from a string by providing the characters place with a number index. This can be useful for some services that require a user to input the 'nth character' from their password instead of the password itself.
My intention is that this can be used in a simple command line interface.
To do this you can create a jar file from the source code or use the one I already created under: out\artifacts\password_character_indexer_jar
You can then use the following command: java -jar directory/name-of-file.jar
within a Windows command line or a Linux terminal to run it.
Alternatively you can create a batch file for Windows or a shell script for Linux.
java -jar directory/name-of-file.jar
#!/bin/bash
java -jar directory/name-of-file.jar
- Java