Viewing String

v1.0.3

String

by blitzoffline


How to install the String expansion:

As this is a verified expansion you have two possible ways of installation.

In-game: You can run these commands to download and install:

/papi ecloud download String

/papi reload

Manual: Simply click the green download button to download the expansion, then copy the expansion to the /plugins/PlaceholderAPI/expansions/ folder.

Then run the /papi reload command.


Description

Some string utilities in placeholders.

Placeholders

%string_equals_<string>_<match>%
%string_equalsIgnoreCase_<string>_<match>%
%string_contains_<string>_<match>%
%string_containsIgnoreCase_<string>_<match>%
%string_charAt_<index>_<string>%
%string_indexOf_<string>_<match>%
%string_lastIndexOf_<string>_<match>%
%string_substring_<startIndex>_<string>%
%string_substring_<startIndex>,<endIndex>_<string>%
%string_shuffle_<string>%
%string_uppercase_<string>%
%string_lowercase_<string>%
%string_sentencecase_<string>%
%string_capitalize_<string>%
%string_length_<string>%
%string_random_<string1>,<string2>,<string3>,<etc>%
%string_replaceCharacters_<configuration>_<string>%
%string_alternateuppercase_<string>%
%string_startswith_<string>_<match>%
%string_endswith_<string>_<match>%
%string_trim_<string>%
%string_occurences_count_<string>_<match>%

View the full list of Placeholders here.

Version 1.0.3 Release Notes

Added 2 new placeholders: `%string_sentencecase_<string>%` - Returns the `string` with first letter being uppercase and all other letters being lowercase `%string_capitalize_<string>%` - Returns the `string` with the first character being uppercase

Copyright © 2021 PlaceholderAPI All Rights Reserved.