
See How do I give feedback on Microsoft Office? for more information. Help us improve Wordĭo you have suggestions about how we can improve Word? Let us know by providing us feedback. Post a question in the Word Answers Community. Using Styles in Word - a free, 10-minute video training course.Īlign text left or right, center text, or justify text on a pageĭo you have a question about Word that we didn't answer here? The Line spacing drop-down lets you select or set more specific line spacing.įor more information on modifying styles in Word, see: Customize styles in Word. If you'd like to apply more specific line spacing to the style, clickthe Format button at the bottom left corner of the Modify Style dialog box and select Paragraph. Choose the spacing you want to apply and click OK. Near the center of the dialog box you'll find the line spacing buttons that let you select single, 1.5x or double spaced.

Right-click the style you want to change and select Modify. To increase or decrease the amount of vertical space between lines of text within a paragraph, the best method is to modify the style the paragraph uses.įind the style you're using in the Styles gallery on the Home tab. Percentages below 100 percent compress the text. Percentages above 100 percent stretch the text. In the Scale box, enter the percentage that you want. For trim method space character means any character whose ASCII value is less than or equal to 32 (‘U+0020’).Note: If you're using Word 2007 the tab is called Character Spacing. Trim() is the most commonly used method by java developers for removing leading and trailing spaces. If you need to remove leading and trailing spaces the best option would be before java 11 trim() and from java 11 strip() method. It means we cannot modify a string, hence all the methods returns new string with all the transformations. Most important point to note is that in java a string object is immutable.

Like removing spaces in or around the string text. This also known as 'strip'ping off spaces in the string. String manipulation is done most often while programming.
