Class StringSourceExtensions
- Namespace
- AngleSharp.Text
- Assembly
- AngleSharp.dll
Extensions for the string source helper.
public static class StringSourceExtensions
- Inheritance
-
StringSourceExtensions
- Inherited Members
Methods
Back(StringSource, int)
Goes back n characters.
public static char Back(this StringSource source, int n)
Parameters
source
StringSourcen
int
Returns
Next(StringSource, int)
Goes back n characters.
public static char Next(this StringSource source, int n)
Parameters
source
StringSourcen
int
Returns
Peek(StringSource)
Gets the upcoming character without advancing.
public static char Peek(this StringSource source)
Parameters
source
StringSource
Returns
SkipSpaces(StringSource)
Skips all spaces starting at the current character.
public static char SkipSpaces(this StringSource source)
Parameters
source
StringSource