Javatpoint Logo
Javatpoint Logo

F# String

String in F# is an immutable sequence of Unicode characters. F# allows us to perform manipulations on string. Some basic operations are like -concatenation, fetching character, substring etc.

F# string is an alias for System.String in the .Net framework.


F# String Example

Output:

Hello FSharp

F# ASCII String Example

Output:

97
98
99

You can access individual character of a string by using array like syntax.


F# Accessing character using array like syntax

Output:

h





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA