String Actions enable you to manipulate and manage strings data.
Parameter | Description |
---|---|
Text | The text to encode. |
Encoding Type | The type of encoding to decode: Standard or URL |
Parameter | Description |
---|---|
Text | The text to decode. |
Encoding Type | The type of encoding: Standard or URL |
https://blinkops.com/utility?name=encode_url
, the returned encoded URL will be: https%3A//blinkops.com/utility%3Fname%3Dencode_url
.
Parameter | Description |
---|---|
URL | The URL that needs to be converted into URL-encoded format. |
https%3A//blinkops.com/utility%3Fname%3Ddecode_url
, the returned string will be: https://blinkops.com/utility?name=decode_url
.
Parameter | Description |
---|---|
Encoded URL | The encoded URL that needs to be converted into a string. |
blink
, the returned hexadecimal string will be: 626c696e6b
.
Parameter | Description |
---|---|
String | The string that will be encoded. First, it encodes the string to bytes (using UTF-8) and then the bytes to hex. |
626C696E6B
, the returned string will be: blink
.
Parameter | Description |
---|---|
Encoded String | The string that needs to be decoded. Bytes are decoded using UTF-8. |
Parameter | Description |
---|---|
String | The string which will be converted to lower case. For example: For the string - Hello World , the returned string will be: hello world |
Parameter | Description |
---|---|
String | The string which will be converted to upper case. For example: For the string - Hello World , the returned string will be: HELLO WORLD |
Parameter | Description |
---|---|
String | The string whose length will be returned. For example: For the string - Hello World , the returned value will be: 11 |
Parameter | Description |
---|---|
String | The string for which regex matches are to be returned. |
RegEx | The regular expression pattern used to search the string. Provide only the pattern you wish to match. If you are including group matching, please enclose the group within (?:) rather than (). For example: For the string - test1, test2, test3 and the RegEx - test1 , the returned list looks like the following: [“test1”] For the string - aabbaa and the RegEx - (?:aabb) , the returned list looks like the following: [“aabb”] |
Parameter | Description |
---|---|
String | The string that will be shortened. |
Limit | The amount of characters the string will be limited to. For example: For the string - Hello World and the limit 8 , the returned value will be: Hello Wo Note: You can truncate the string from the end using a Negative Limit . For instance: the limit -2 will remove the last 2 characters. |
Start
and End
indexes.
This action is based on Python’s array slicing and it allows you to use negative indexes (-) to calculate the index from the end.
For example:
For the string: blinkops
and the input indexes 0
and -3
, the output will be: blink
. The same as if the End
index was 5
.
Parameter | Description |
---|---|
String | The string that needs to be trimmed. |
Start Index | The index of the first character you want to include in the slice. The string will be trimmed from this index (inclusive). Note: The first character’s index is 0 . |
End Index | The index of the first character you want to exclude from the slice. The string will be trimmed to this index (exclusive). Note: The last character’s index is -1 or the length of the string. |
Parameter | Description |
---|---|
String | The string that needs to be trimmed. |
Parameter | Description |
---|---|
String | The original string where the Value will be searched. |
Substring | The substring to be find within the original String . |
Parameter | Description |
---|---|
String | The original string where replacements will be made. |
Old Substring | The substring to be find within the original String parameter. |
New Substring | The replacement substring. |
Count | The maximum number of replacements to perform. If empty, replaces all occurrences. |
Parameter | Description |
---|---|
String | The string that needs to be split. |
Delimiter | The delimiter based on which the string will be split. For example: For the string - Hello there, this is Blink's example! and the delimiter - , , the returned list looks like the following: ["Hello there", " this is Blink's example!"] |
Parameter | Description |
---|---|
String List | The list of strings that needs to be concatenated. Also, it could be a single string like "blink" . In this case, each character will act as a ‘substring’. For example: The input string - "blink" (with quotes) will act the same as the following input: ["b", "l", "i", "n", "k"] |
Separator | The string that will be inserted in between each one of the ‘Strings’. For example: For the string list - ["I", "Love", "Blink"] and the separator - # , the returned string will be: I#Love#Blink |
https://www.malwarebytes.com/malware
, and the method Replace
, the returned string will be: hXXps://www[.]malwarebytes[.]com/malware
.
Parameter | Description |
---|---|
String | The string entity that needs to be defanged. |
Method | The “defanging” method. The supported methods are:
|
hXXps://www[.]malwarebytes[.]com/malware
, and the method Replace
, the returned string will be: https://www.malwarebytes.com/malware
.
Parameter | Description |
---|---|
Defanged String | The string entity that needs to be reverted to its previous form. |
Method | The “defanging” method used originally. The supported methods are:
|