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 improve UI and UX of your android application?

  How to improve UI and UX of your android application? Koders, you are welcomed to Learn web online. So, as you have seen today we will be learning How we can Improve UI of our applications make in Kodular creator. Today, I will be sharing my own methods that I prefer using to Improve UI of my android applications. Before we start our tutorial I want to tell you if you are new to Learn Web online then Keep connected with us for getting more interesting tutorials related to Kodular application development. But firstly we would talk about why is a better UI important for our applications. Here are the main things which proves the importance of a better UI in Kodular Crerator ; 1. More Downloads: If the UI of your application is good then it will surely help you to get more downloads in play store. Users will get attracted by the screenshots which you provided to app store if they shows a good UI design. 2. Better engagement:  A better app UI design will help you to get more use...

How to make speech to text app in Kodular Creator?

  Welcome to Learn Web, guys today as you have seen we will learn to make an Speech to Text application in Kodular Creator. This is our third application making tutorial which is published on our website. We are soon getting many more tutorials for you which will help you to learn advanced application development using Kodular Creator. So, keep connected with Learn Web online to get the latest content from us. Now, we are going to start our tutorial without wasting any more time..... Firstly we would discuss about some FAQ's related to Speech to Text Converter: FAQ's about Speech to Text Converter 1. Functions of this application You might have got what I meant by this app and what this application can be used by an user. But if you didn't then I am going to tell the main function of this Speech to text converter. This app can be used for voice typing. Simply, in this app user have to click on a button and then he have to speak and then it will hive user text which he can c...