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

Kodular Basics- Getting started with Kodular

What Is Kodular? Kodular is a online software which allows us to make android apps without any programming knowledge. Kodular's enable us to make fantastic android apps using their blocks-type editor.We can make our apps stand out with the material design UI. Using Kodular we can make android apps just by dragging and dropping components provided in Kodular Creator.We also need not to write any code to make our app working. We just have to specify blocks in kodular creator and we are out of the tension to write Codes. Getting Started With Kodular :   For making apps you just need to go to Kodular's Creator and sign up there with your email and activate your account.You can create Kodular account and make apps for free. There aren't any charges to use Kodular Creator. So just go Kodular.io and sign up there and start happy coding and app making.  Kodular Dashboard: After you have signed up for Kodular creator,select the option "Create Apps" and you will be redirect

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 make a stopwatch application in Kodular?

  How to make a stopwatch application in Kodular? So, guys we are back with a new tutorial. In today's tutorial we will learn making an app rather than learning to use any component in  Kodular creator. It has been time, since we  have provided a tutorial for making a android app in Kodular Creator Series. Hence, today we will  be learning How to make a simple seconds based stopwatch in Kodular. Here firstly we talk about some of FAQ's about Stopwatch in Kodular creator....... FAQ's about stopwatch App 1. Functions of this Stopwatch If you want to know the main functions of this Stopwatch application then we have how this app will work: 1. Firstly User has to start the stopwatch 2. Then he can pause or start the stopwatch. 3. User will be able to reset this stopwatch. 4. User can check timing upto 10 mini seconds. 5. User can easily use this app. 2. How will this app work? In this app we will use a timer component to record time and we will use button for start stop and re