Post

GoLangGoLang

S
Surya kumar

Posted on 27th February 2024|19 views

0
votes

Golang String Format

What is string formatting

Answers
P
veerubhotla sowmithri

Posted on 27th February 2024

String formatting is essential when we need to create a string dynamically. Using string formatting, we can perform two main functions.

1)  Printf() function to print the formatted string and

2) Sprintf() function to create and return the string rather than printing it to the console.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos