logo-MindMajix
PostGoLangGoLang
S
Surya kumar

Posted on 23rd July 2024|23 views

0
votes

Golang String Format

What is string formatting

1 answers
Answers
P
veerubhotla sowmithri

Posted on 23rd July 2024| views

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
Name
Course *
Email *
Phone Number