Jump to content
Aveyond Studios Community
Duffer123

Other String HeroActions

Recommended Posts

@Ant,

See attached a selection of HeroActions for String variables.  There are in total 10 additional HeroActions for dealing with Strings.  Quite a few!  ;)

- Get String (Uppercase);

- Get String (Lowercase);

- Get String (Titlecase);     // this is where the first character is made a capital/uppercase, the others lowercase //

- Get String (Left);     // get Left$ of original String //

- Get String (Right);     // get Right$ of original String //

- Get String (Length);     // get the length of a String and return that length as an integer //

- Get String (Mid);     // rather like Mid$ - get/return a string from say characters 12 to 15 - in the original string //

- Get String (Find Substring Index);     // find a string within another string (with option to say whether search is case sensitive or not, default not) and return the position of the string your searching for within the source string

                              as an integer - so different then to If (String Contains) HeroAction //

- Get String (FieldString);     // you enter a source String and a delimeter character String and a count Integer and this HeroAction returns the String within the field string ie. "A,quick,brown,fox"

                                                                as source String, delimeter String = "," count Integer = 3, would return the String "brown" //

- Get String (FieldStrings Count);     // you enter the source String and a delimeter character String and this HeroAction returns an integer of the number of Fields within the source String //

[edit]  04/11/2017

I've added in a couple of more custom String HeroActions, as follows:-

- Get String (Replace String);     // replaces all instances of a substring within the source string to give a resultant string //

- Get String (Remove String);     // removes all instances of a substring from within the source string to give a resultant string //

 

HeroKit Actions - Other String HeroActions - v1.1.unitypackage

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×