Skip to main content

How to use Blocks in Text section in Kodular Creator?

How to use Blocks in Text section in Kodular Creator?

How to use Blocks in Text section in Kodular Creator?

 Guys welcome back to Learn Web Online, Today as you have seen we will be learning about using the main text related blocks. These text blocks are very useful while making your android application. We can edit, trim, join etc. text using the blocks which we will be talking about. The blocks which we will be learning to use today can be found under the built in components 'Text'. So, open your project to get live results to try these blocks your own. Here we start our tutorial without wasting time any more....

Blocks In text section

Here, we have the main blocks which we are going to learn to use today's tutorial

1. Text Block:

Text


This block is used to denote a text string. This is the basic block which provide a text string in block section. We can use this block to give a text string to any other block. For example we can enter a text and set this text to a specific Label's text.

2. Join Text

This block is used to join two text strings and provide them as one text string as result. We can change the number of text string that we can join by clicking on gears icon. This will give us joined text in the order we provided the text strings.

3. Length of text

This block provide the number of characters in the given text to this block. This can be used to determine the character length of passwords etc.

4. Is empty

This tells us whether the text string provided to us is empty or the it has any character. If the given text string is empty then it returns true and if it is not empty then it returns false. We can use this for getting any value from user as an alter of "Length" Block.

5. Reverse

This block provide us the text string in  the reverse order in  which we have provided to it. This is also useful at many places. This returns the text as string in reversed order the text provided to it.

6. Trim


This trims the given text and provide us the text in the form as all the spaces removed from the given text string. Simply this removes and provide us the text string without any spaces. We can use this to make user ID from provided username.

7. Upcase

This block upcase or lowercase all the text provided. It accept and provide the text back in the form of a string with all the letters upcased or lowercased by the application.

8. Contains text piece


This block check the given text string contains the text piece provided as the piece string. If it contains the text then it returns true otherwise it returns false if text piece is not there.

9. Split text at

This block is used to get a list of text string splited at a given unicode character. For example if I want to split any URL at ' ' then it provide us a list of text strings splitted at the given character.

10. Segment text at

This block provide us a segment of a bigger text string which will start at the no. of characters is given as a string at start and length of the text to be segmented at Length.

So, guys these were the main blocks related to text strings. There are also other blocks but we will  talk about them in further tutorials. This are the blocks we use usually while making most of the applications, so I think you can easily develop your application by using these blocks. This was all for today. We will be back again till then...

Happy Koding......

Comments

Popular posts from this blog

How to use Utilities component in Kodular Creator?

  How to use Utilities component in Kodular Creator? Welcome back guys to Learn webs online. As you may have seen in above image, in today's tutorial we will be going to learn to use the utilities components in Kodular Creator. These components will surely be useful for your future projects. In today tutorial we will learn to use these four utilities components. These are the main utilities components in kodular creator. There are also another utilities components which we will learn to use in further tutorials. So, let's start our tutorial without waiting any more..... 1. Wallpaper component Introduction: This component can be found at the last position in the utilities components under utilities option in sidebar. As you can understand by it's name this is used to access the wallpaper settings of user's device. This is very useful component while developing a app in which we allow user to change or modify wallpaper within the application. This app may be a browser app

How to use dynamic component in Kodular Creator ?

How to use dynamic components in Kodular Creator? Welcome back my dear friends, today we are back again with a complete new tutorial. Today we are going to learn How to use Dynamic components in Kodular Creator? As of all our tutorials I assure you you will find this tutorial very useful while developing any of you application which the no. of components are not fixed. So, we use dynamic components to add as much as number of components as we want. So, here we start our tutorial with some of FAQ's that will help you to learn what is concept of dynamic components if you didn't understood "What does dynamic components mean?"  FAQ's about Dynamic components 1. What are dynamic components? Dynamic components are the components which allows us to show as much as number of components in our application as we want. So, that we need not to update app to add any component in our application. This is useful when we are developing any application like Shopping application in

How to use KIO4 gradient in Kodular?

  Welcome to learn web, today we are back with a completely new tutorial on Kodular Basic-to -Advanced app making.Today topic for our tutorial is that how to use Gradient effect in Kodular app making for any layout. How to use gradient colors in kodular app? For this you need to use a extension named "KIO4" gradient.So,before starting you need to get this extension before we start our tutorial.To get this click on link below: My Drive Link This is the google drive link for the KIO4 extension. I think you might have got the extension.So, we start our tutorial on how to use gradient effect Kodular apps. Step 1:Open your Project in which you want to use gradient Effect.Then click on the extensions button in the bottom of left sidebar and click on import extension.Now select the KIO4 gradient file and click on Import after some time your extension will be processed and imported to your project. Illustration: Once you have Imported the KIO4 extension you can see the extension as s