Tuesday, October 15, 2024 00:05

Posts Tagged ‘substring’

Replacing a string inside another string

Friday, April 21st, 2017

Whenever you want to replace a string inside another string, .NET Framework offers the Replace() function. It is a function that accepts two string parameters, the string to be replaced and the string to replace with. Its usage is very simple:

Read more

Substring

Friday, April 21st, 2017

A substring is a string located inside another string. To extract a portion of a string (substring), we can use the Substring() method, with some additional parameters, such as the starting index and the character count or length. Whenever the length parameter is omitted, the function will simply return the substring that starts at the specified index until the end of the string.… Read more


Follow the white rabbit